[PATCH] D108136: [LoopVectorize] Permit vectorisation of more select(cmp(), X, Y) reduction patterns
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 8 01:53:12 PDT 2021
david-arm updated this revision to Diff 378129.
david-arm added a comment.
- Re-added support for cases where the PHI is used by both the icmp and select because there is no logical reason for not supporting this.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108136/new/
https://reviews.llvm.org/D108136
Files:
llvm/include/llvm/Analysis/IVDescriptors.h
llvm/include/llvm/Transforms/Utils/LoopUtils.h
llvm/lib/Analysis/IVDescriptors.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Transforms/Utils/LoopUtils.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
llvm/test/Transforms/LoopVectorize/scalable-reduction-inloop.ll
llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
llvm/test/Transforms/LoopVectorize/select-cmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108136.378129.patch
Type: text/x-patch
Size: 72109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/856f0539/attachment-0001.bin>
More information about the llvm-commits
mailing list