[PATCH] D117499: [CodeGen] Support extracting fixed-length vectors from illegal scalable vectors
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 09:28:54 PDT 2022
efriedma added a comment.
I'm okay with skipping the select optimization for now, sure.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:3034
+ if (SubVT.getScalarType() == MVT::i1 &&
+ getTypeAction(SubVT) != TargetLowering::TypePromoteInteger)
+ llvm_unreachable("Don't know how to extract fixed-width predicate "
----------------
`getTypeAction(SubVT)` is always going to be "legal", or we wouldn't be here. (We always legalize results before operands.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117499/new/
https://reviews.llvm.org/D117499
More information about the llvm-commits
mailing list