Some types are widened and then promoted, but the 'widenVectorToPartType'
doesn't handle the promotion. Because scalable vectors have no fallback,
the compiler fails an assertion that the type can't be handled.
Details
Details
- Reviewers
efriedma
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I played around with D106028 to see if I could remove the vector.insert/extract and instead pass/return the odd types directly.
Comment Actions
If we're going to make widenVectorToPartType extend vector elements, we should probably refactor the callers to be more consistent. (D105591 rearranged the caller code for multi-part vectors, but I guess not for single-part vectors.)
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
634 | This check seems a little strange; if the vector element types aren't integer, and aren't equal, we assert in getNode()? |
This check seems a little strange; if the vector element types aren't integer, and aren't equal, we assert in getNode()?