[PATCH] D99354: [SimpleLoopUnswitch] Port partially invariant unswitch from LoopUnswitch to SimpleLoopUnswitch

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 11:31:17 PDT 2021


fhahn added a comment.

In D99354#2754454 <https://reviews.llvm.org/D99354#2754454>, @jaykang10 wrote:

> In D99354#2754363 <https://reviews.llvm.org/D99354#2754363>, @fhahn wrote:
>
>> In D99354#2750822 <https://reviews.llvm.org/D99354#2750822>, @jaykang10 wrote:
>>
>>> In D99354#2750756 <https://reviews.llvm.org/D99354#2750756>, @fhahn wrote:
>>>
>>>> I think this causes https://bugs.llvm.org/show_bug.cgi?id=50279 as well
>>>
>>> @fhahn Thanks for letting me know. Let me have a look.
>>
>> Thanks. If it's not straight-forward to resolve, it would be best to revert the patch for now.
>
> @fhahn Thanks for kind suggestion. I have figured out what causes the endless compiling. It looks we need to move partially invariant instructions rather than duplicating them. Once I resolve this issue, I need to check the score of benchmarks again. Therefore, I would post a patch for review tomorrow or the day after tomorrow.

Great, thanks! It sounds like it would make sense to revert until this is resolved than, so there's no need to rush :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99354



More information about the llvm-commits mailing list