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

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 10:02:51 PST 2021


c-rhodes updated this revision to Diff 314648.
c-rhodes edited the summary of this revision.
c-rhodes added a comment.

Changes:

- Rebased. Target hook for max vscale has been removed from this patch since it landed in D93030 <https://reviews.llvm.org/D93030>.
- Address Sander's comment w.r.t. falling back to fixed vectorization if scalable vectors are supported, but max vscale is undefined.


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/Transforms/Vectorize/LoopVectorizationLegality.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.314648.patch
Type: text/x-patch
Size: 37361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210105/15b088c1/attachment.bin>


More information about the llvm-commits mailing list