This change teaches ScalarEvolution::isLoopBackedgeGuardedByCond to look
at edges within the loop body that dominate the latch. We don't do an
exhaustive search for all possible edges, but only a quick walk up the
dom tree.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Update: the return true; in this change (line 6725) is executed a total of 1964 times when bootstrapping clang with -O3.