[PATCH] D84451: [LV] Tail folded inloop reductions.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 01:01:18 PDT 2020


dmgreen updated this revision to Diff 293368.
dmgreen added a reviewer: SjoerdMeijer.
dmgreen added a comment.

I have updated this to include a getFirstNonPhi() method on VPBasicBlock, which helps to move some of this logic into a nicer place. This way the Block Mask is still created before any other instructions, but after the phi nodes in the block.


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

https://reviews.llvm.org/D84451

Files:
  llvm/include/llvm/Analysis/IVDescriptors.h
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/ARM/mve-gather-scatter-tailpred.ll
  llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-predselect.ll
  llvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
  llvm/test/Transforms/LoopVectorize/ARM/reduction-inloop-pred.ll
  llvm/test/Transforms/LoopVectorize/X86/optsize.ll
  llvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll
  llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll
  llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
  llvm/test/Transforms/LoopVectorize/optsize.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop-uf4.ll
  llvm/test/Transforms/LoopVectorize/reduction-order.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84451.293368.patch
Type: text/x-patch
Size: 280481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/fb1aeb37/attachment-0001.bin>


More information about the llvm-commits mailing list