[PATCH] D110060: [LoopBoundSplit] Handle the case in which exiting block is loop header

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 05:19:51 PDT 2021


jaykang10 updated this revision to Diff 376871.
jaykang10 added a comment.

Following comments of @mkazantsev, updated patch

- Split the patch into two
- Find PHI with exiting condition from pre-loop correctly


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

https://reviews.llvm.org/D110060

Files:
  llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
  llvm/test/Transforms/LoopBoundSplit/bug-loop-bound-split-phi-in-exit-block.ll
  llvm/test/Transforms/LoopBoundSplit/bug51866.ll
  llvm/test/Transforms/LoopBoundSplit/loop-bound-split.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110060.376871.patch
Type: text/x-patch
Size: 21550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211004/db8309cf/attachment-0001.bin>


More information about the llvm-commits mailing list