[PATCH] D91718: [LV] Legalize scalable VF hints

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 09:06:14 PST 2020


c-rhodes updated this revision to Diff 312819.
c-rhodes added a comment.

Address @fhahn's comments, changes:

- Clarify help message in `-force-target-supports-scalable-vectors` flag.
- `s/IgnoreUserVF/IgnoreScalableUserVF/g`
- Added `isSafeForAnyVectorWidth` to LAA that checks if the number of elements that can be operated on simultaneously is not bound. This is used in `computeFeasibleMaxVF` to skip the checks for whether the VF is safe given the dependence distance.


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

https://reviews.llvm.org/D91718

Files:
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-loop-unpredicated-body-scalar-tail.ll
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-hint.ll
  llvm/test/Transforms/LoopVectorize/metadata-width.ll
  llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization-limitations.ll
  llvm/test/Transforms/LoopVectorize/scalable-loop-unpredicated-body-scalar-tail.ll
  llvm/test/Transforms/LoopVectorize/scalable-vf-hint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91718.312819.patch
Type: text/x-patch
Size: 39810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201218/2f60d36c/attachment.bin>


More information about the llvm-commits mailing list