[PATCH] D46827: [VPlan] Add VPInstruction to VPRecipe transformation.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 10:11:47 PDT 2018


fhahn updated this revision to Diff 150156.
fhahn added a comment.

Updated to not use VPRecipeBuilder for recipe construction. It now relies relies on the original VPlan to be vectorizable without masking/interleaving. If that makes sense, I'll move the code enabling the CG to a separate patch and add a unit test for the transformation.


https://reviews.llvm.org/D46827

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/VPRecipeBuilder.h
  lib/Transforms/Vectorize/VPlan.h
  lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp
  lib/Transforms/Vectorize/VPlanHCFGTransforms.h
  test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll
  test/Transforms/LoopVectorize/i8-induction.ll
  test/Transforms/LoopVectorize/if-conversion.ll
  test/Transforms/LoopVectorize/increment.ll
  test/Transforms/LoopVectorize/induction.ll
  test/Transforms/LoopVectorize/induction_plus.ll
  test/Transforms/LoopVectorize/loop-scalars.ll
  test/Transforms/LoopVectorize/minmax_reduction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46827.150156.patch
Type: text/x-patch
Size: 16885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/c08009c4/attachment.bin>


More information about the llvm-commits mailing list