[PATCH] D130618: [AArch64][LoopVectorize] Enable tail-folding by default for SVE

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 06:13:57 PDT 2022


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

- Renamed TailFoldingKind -> TailFoldingOption and introduced a simple TailFoldingKind class.
- TailFoldingOption now stashes a copy of the option string and parses it on demand to ensure that bits are added and removed in the correct order.
- Added a new `satisfies(TailFoldingKind Required)` interface to TailFoldingOption and simplified the logic in getScalarEpilogueLowering


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130618/new/

https://reviews.llvm.org/D130618

Files:
  llvm/lib/Target/AArch64/AArch64Subtarget.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.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: D130618.449273.patch
Type: text/x-patch
Size: 13122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/bd0e43c5/attachment.bin>


More information about the llvm-commits mailing list