[PATCH] D115713: [LV] Don't apply "TinyTripCountVectorThreshold" for loops with compile time known TC.

Evgeniy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 01:01:40 PST 2022


ebrevnov updated this revision to Diff 474185.
ebrevnov added a comment.

Avoid vectorization if there is reduction/recurrence induced overhead


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115713

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
  llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
  llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
  llvm/test/Transforms/LoopVectorize/X86/pr31671-consecutive-ptr-uniforms.ll
  llvm/test/Transforms/LoopVectorize/X86/pr40816-consecutive-ptr-uniforms.ll
  llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll
  llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
  llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
  llvm/test/Transforms/LoopVectorize/pr43166-fold-tail-by-masking.ll
  llvm/test/Transforms/LoopVectorize/pr45679-fold-tail-by-masking.ll
  llvm/test/Transforms/LoopVectorize/reduction-order.ll
  llvm/test/Transforms/LoopVectorize/tail-folding-vectorization-factor-1.ll
  llvm/test/Transforms/LoopVectorize/tripcount.ll
  llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115713.474185.patch
Type: text/x-patch
Size: 54344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/5c9526dc/attachment.bin>


More information about the llvm-commits mailing list