[PATCH] D103816: [SimpleLoopUnswich] Fix a bug on ComputeUnswitchedCost with partial unswitch

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 04:33:55 PDT 2021


jaykang10 added a comment.

In D103816#2832771 <https://reviews.llvm.org/D103816#2832771>, @sanwou01 wrote:

> I think I managed to figure out what's going on here in the end, but it would help to explain what the bug is in the commit message, something like:
>
>> The costs of non-duplicated blocks are substracted from the total LoopCost, so anything that is duplicated should *not* be counted.

Sorry for inconvenient, let me add a comment.


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

https://reviews.llvm.org/D103816



More information about the llvm-commits mailing list