[PATCH] D146811: [LSR] Preserve LCSSA when rewriting instruction with PHI user

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 01:36:00 PDT 2023


dmakogon updated this revision to Diff 508932.
dmakogon added a comment.

Address comment: collect instructions right where they are inserted.


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

https://reviews.llvm.org/D146811

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll
  llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-invalid-ptr-extend.ll
  llvm/test/Transforms/LoopStrengthReduce/X86/2011-11-29-postincphi.ll
  llvm/test/Transforms/LoopStrengthReduce/X86/expander-crashes.ll
  llvm/test/Transforms/LoopStrengthReduce/X86/expander-reused-value-insert-point.ll
  llvm/test/Transforms/LoopStrengthReduce/X86/sibling-loops.ll
  llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
  llvm/test/Transforms/LoopStrengthReduce/depth-limit-overrun.ll
  llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll
  llvm/test/Transforms/LoopStrengthReduce/preserve-lcssa.ll
  llvm/test/Transforms/LoopStrengthReduce/uglygep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146811.508932.patch
Type: text/x-patch
Size: 24670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230328/0f2d6c5f/attachment-0001.bin>


More information about the llvm-commits mailing list