[PATCH] D129560: [AArch64] Add target hook for preferPredicateOverEpilogue
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 05:01:55 PDT 2022
david-arm updated this revision to Diff 444226.
david-arm edited the summary of this revision.
david-arm added a reviewer: dmgreen.
david-arm added a comment.
- Removed previous test changes.
- Added a new option called "EnabledNoReductions" that only uses tail-predication if the loop does not contain reductions or first-order recurrences.
- Enhanced the TTI hook to take a pointer to LoopVectorizationLegality, which is used to detect the presence of reductions and recurrences.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129560/new/
https://reviews.llvm.org/D129560
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-predication.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129560.444226.patch
Type: text/x-patch
Size: 18982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220713/c5035680/attachment.bin>
More information about the llvm-commits
mailing list