[PATCH] D102615: [LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration (try 3)

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 03:18:55 PDT 2021


mkazantsev added a comment.

In D102615#2790546 <https://reviews.llvm.org/D102615#2790546>, @mkazantsev wrote:

> In D102615#2790191 <https://reviews.llvm.org/D102615#2790191>, @xbolva00 wrote:
>
>> In D102615#2778811 <https://reviews.llvm.org/D102615#2778811>, @xbolva00 wrote:
>>
>>> Can this patch optimize code from comment #4 in https://bugs.llvm.org/show_bug.cgi?id=47491 ?
>>
>> Btw, any comment?
>
> Let me check.

It doesn't, and it shouldn't. There is no 1 iteration loops here, and the existing loop gets fully unrolled.


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

https://reviews.llvm.org/D102615



More information about the llvm-commits mailing list