[PATCH] D128342: [AArch64][LoopVectorize] Disable tail-folding for SVE when loop has interleaved accesses

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 03:08:06 PDT 2022


david-arm updated this revision to Diff 445758.
david-arm retitled this revision from "[LoopVectorize] Disable tail-folding when masked interleaved accesses are unavailable" to "[AArch64][LoopVectorize] Disable tail-folding for SVE when loop has interleaved accesses".
david-arm edited the summary of this revision.
david-arm added a comment.
Herald added subscribers: shiva0217, tschuett.

- Changed to using the TTI hook 'preferPredicateOverEpilogue' in order to make the decision about whether to use tail-folding or not. This requires refactoring the LoopVectorizer.cpp code a little in order to pass in the InterleaveAccessInfo object.


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

https://reviews.llvm.org/D128342

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/Analysis/VectorUtils.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: D128342.445758.patch
Type: text/x-patch
Size: 16320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/0efbb5fa/attachment.bin>


More information about the llvm-commits mailing list