[PATCH] D93269: [InstCombine] Remove scalable vector restriction in InstCombineCompares
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 15 02:08:13 PST 2020
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:3411
auto *VecC = dyn_cast<Constant>(M);
- if (OpTy->isVectorTy() && VecC && VecC->containsUndefElement()) {
- auto *OpVTy = cast<FixedVectorType>(OpTy);
+ auto OpVTy = dyn_cast<FixedVectorType>(OpTy);
+ if (OpVTy && VecC && VecC->containsUndefElement()) {
----------------
auto *
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93269/new/
https://reviews.llvm.org/D93269
More information about the llvm-commits
mailing list