[PATCH] D101294: [LoopVectorize] Fix scalarisation crash in widenPHIInstruction for scalable vectors
Peter Waller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 28 07:35:13 PDT 2021
peterwaller-arm added a comment.
I've reviewed what's in-diff in detail, I've run and looked at the code and it makes sense to me in as much as I understand it. However, I have little experience here so I will defer acceptance to someone else for now.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3378
CreateMul(Index,
- Exp.expandCodeFor(Step, Index->getType(), GetInsertPoint())));
+ Exp.expandCodeFor(Step, Index->getType()->getScalarType(), GetInsertPoint())));
}
----------------
Nit: clang format failure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101294/new/
https://reviews.llvm.org/D101294
More information about the llvm-commits
mailing list