Skip to content

[SLP] crash after 8ff233f #99899

@JonPsson1

Description

@JonPsson1

8ff233f "[SLP]Correctly detect minnum/maxnum patterns for select/cmp operations on floats." seems to have introduced a problem when building SPEC on SystemZ.

opt -mtriple=s390x-linux-gnu -mcpu=z16 -O3 ./tc_slp.ll -o /dev/null
opt: /home/ijonpan/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:704: llvm::Type* llvm::Type::getWithNewBitWidth(unsigned int) const: Assertion `isIntOrIntVectorTy() && "Original type expected to be a vector of integers or a scalar integer."' failed.
...
#15 0x000000000519c8f8 llvm::slpvectorizer::BoUpSLP::getEntryCost

tc_slp.ll.tar.gz

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions