[PATCH] D93734: [LoopDeletion] Insert an early exit from dead path in loop

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 12:15:21 PST 2021


fhahn added a comment.

In D93734#2512432 <https://reviews.llvm.org/D93734#2512432>, @jdoerfert wrote:

> What is left after we merged the loop unswitch solution?

I realized that the for the SECP2017 version, loop-unswitching does not happen by default, due to cost-modeling. (It does happen for the SPEC2006 version). So I tried to extend the logic to check if the candidate path is a no-op: D95468 <https://reviews.llvm.org/D95468>. That should also handle the SPEC2017 case.


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

https://reviews.llvm.org/D93734



More information about the llvm-commits mailing list