[PATCH] D109160: [LoopBoundSplit] Update phi node in exit block

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 08:06:11 PDT 2021


jaykang10 created this revision.
jaykang10 added reviewers: mkazantsev, reames, Holman.
Herald added a subscriber: hiraditya.
jaykang10 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch updates phi node in exit block properly.

It fixes https://bugs.llvm.org/show_bug.cgi?id=51700


https://reviews.llvm.org/D109160

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109160.370275.patch
Type: text/x-patch
Size: 5118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/67a85808/attachment.bin>


More information about the llvm-commits mailing list