[PATCH] D129560: [AArch64] Add target hook for preferPredicateOverEpilogue

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 07:23:22 PDT 2022


david-arm updated this revision to Diff 445485.
david-arm added a comment.

- Renamed sve-tail-predication -> sve-tail-folding in line with other terminology used in tests and in the codebase.
- Changed sve-tail-folding option into an option list so that we can fine-tune various behaviours, i.e. "enabled+noreductions" or "enabled+noreductions". This allows us to represent the different flavours of tail-folding in the form of a bitmask, which makes this more scalable.


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-option.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129560.445485.patch
Type: text/x-patch
Size: 24249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/57340811/attachment.bin>


More information about the llvm-commits mailing list