[PATCH] D32871: [LV] Using VPlan to model the vectorized code and drive its transformation

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 15:41:27 PDT 2017


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

Fix PR34248: pack a predicated scalar into a vector only when vectorizing; avoid doing so when only unrolling. Add a test derived from the reproducer of PR34248.


https://reviews.llvm.org/D32871

Files:
  lib/Transforms/Vectorize/CMakeLists.txt
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/VPlan.cpp
  lib/Transforms/Vectorize/VPlan.h
  test/Transforms/LoopVectorize/AArch64/aarch64-predication.ll
  test/Transforms/LoopVectorize/AArch64/predication_costs.ll
  test/Transforms/LoopVectorize/SystemZ/load-store-scalarization-cost.ll
  test/Transforms/LoopVectorize/first-order-recurrence.ll
  test/Transforms/LoopVectorize/if-pred-non-void.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32871.112467.patch
Type: text/x-patch
Size: 144188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170823/813bc65e/attachment-0001.bin>


More information about the llvm-commits mailing list