[PATCH] D39906: [InstCombine] reassociate loop invariant GEP chains to enable LICM

Sebastian Pop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 13:58:49 PST 2018


sebpop updated this revision to Diff 137834.
sebpop retitled this revision from " [InstCombine] Allowing GEP Instructions with loop Invariant operands to combine" to "[InstCombine] reassociate loop invariant GEP chains to enable  LICM".
sebpop edited the summary of this revision.
sebpop added a comment.

Rewrote the patch as suggested by Eli.


https://reviews.llvm.org/D39906

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll
  llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
  llvm/test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll
  llvm/test/Transforms/LoopVectorize/float-induction.ll
  llvm/test/Transforms/LoopVectorize/induction.ll
  llvm/test/Transforms/LoopVectorize/scalar_after_vectorization.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39906.137834.patch
Type: text/x-patch
Size: 260765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/303b16cd/attachment-0001.bin>


More information about the llvm-commits mailing list