[PATCH] D77756: [SVE] Remove calls to isScalable from Transforms
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 15:04:19 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:593
Type *Dummy;
- if (!Ty->isIntegerTy() && Ty->isSized() &&
- !(Ty->isVectorTy() && cast<VectorType>(Ty)->isScalable()) &&
+ if (!Ty->isIntegerTy() && Ty->isSized() && isa<FixedVectorType>(Ty) &&
DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) &&
----------------
This doesn't appear to be equivalent.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77756/new/
https://reviews.llvm.org/D77756
More information about the llvm-commits
mailing list