[PATCH] D50480: [LV] Vectorizing loops of arbitrary trip count without remainder under opt for size

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 08:39:10 PDT 2018


Ayal updated this revision to Diff 161965.
Ayal added a comment.

Addressing review comments, rebased, added a couple of asserts.

Reverted to use the original ICmpULE extended opcode instead of detached ICmpInst. This can be revised quite easily once VPInstructions acquire any other form of modeling compares.

The TC==1 part and preliminary CHECK completion of tests are to be uploaded first.


https://reviews.llvm.org/D50480

Files:
  include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/VPlan.cpp
  lib/Transforms/Vectorize/VPlan.h
  test/Transforms/LoopVectorize/X86/optsize.ll
  test/Transforms/LoopVectorize/X86/small-size.ll
  test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50480.161965.patch
Type: text/x-patch
Size: 49146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/04f4255f/attachment.bin>


More information about the llvm-commits mailing list