[PATCH] D99254: [SVE][LoopVectorize] Fix crash in InnerLoopVectorizer::widenPHIInstruction
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 7 06:35:24 PDT 2021
david-arm updated this revision to Diff 335798.
david-arm edited the summary of this revision.
david-arm added a comment.
- I realised that there was still a broken case where the PHIs are treated as uniform, which leads us to fall into the path where the PHI is scalar after vectorisation. We can support the uniform case for scalable vectors. I've fixed the code to work for scalable vectors and added a test.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99254/new/
https://reviews.llvm.org/D99254
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99254.335798.patch
Type: text/x-patch
Size: 10477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/369934e1/attachment.bin>
More information about the llvm-commits
mailing list