[PATCH] D147720: [LV] Use the known trip count when costing non-tail folded VFs

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 02:30:56 PDT 2023


dmgreen updated this revision to Diff 516316.
dmgreen added a comment.

Update this to what it should have been. One of the tests has changed because 12345 as a i8 is really 57, which was too many scalar iterations to pick v16 over v8. I've changed it to 241 so that it keeps testing the same thing.


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

https://reviews.llvm.org/D147720

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/smallest-and-widest-types.ll
  llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147720.516316.patch
Type: text/x-patch
Size: 6438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230424/084fe805/attachment.bin>


More information about the llvm-commits mailing list