[all-commits] [llvm/llvm-project] ea14df: [SVE][LoopVectorize] Fix crash in InnerLoopVectori...
david-arm via All-commits
all-commits at lists.llvm.org
Thu Apr 15 02:52:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea14df695ebde3f5bdd5ba7548d3d49e8f1c4411
https://github.com/llvm/llvm-project/commit/ea14df695ebde3f5bdd5ba7548d3d49e8f1c4411
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-04-15 (Thu, 15 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
Log Message:
-----------
[SVE][LoopVectorize] Fix crash in InnerLoopVectorizer::widenPHIInstruction
There were a few places in widenPHIInstruction where calculations of
offsets were failing to take the runtime calculation of VF into
account for scalable vectors. I've fixed those cases in this patch
as well as adding an assert that we should not be scalarising for
scalable vectors.
Tests are added here:
Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
Differential Revision: https://reviews.llvm.org/D99254
More information about the All-commits
mailing list