[PATCH] D113035: [InstCombine] enhance vector bitwise select matching
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 8 09:56:43 PST 2021
lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
LGMT
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp:2372
+ Type *SelTy = A->getType();
+ if (auto *VecTy = dyn_cast<FixedVectorType>(Cond->getType())) {
+ unsigned Elts = VecTy->getNumElements();
----------------
What happens for scalable vectors? I'm not seeing any check against that.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113035/new/
https://reviews.llvm.org/D113035
More information about the llvm-commits
mailing list