[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 Sep 20 03:54:35 PDT 2021


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

If exiting block is loop header, `phi node` could be AddRecValue. Handle the case.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110060.373543.patch
Type: text/x-patch
Size: 6096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/e2d5b488/attachment.bin>


More information about the llvm-commits mailing list