Allow arbitrary strides, and make sure we return the correct result when the backedge-taken count is zero.
Inspired by D104140.
Differential D106197
[ScalarEvolution] Refine computeMaxBECountForLT to be accurate in more cases. efriedma on Jul 16 2021, 4:26 PM. Authored by
Details Allow arbitrary strides, and make sure we return the correct result when the backedge-taken count is zero. Inspired by D104140.
Diff Detail
Unit Tests Event TimelineComment Actions LGTM w/minor comments.
|
This is harmless, but I believe we've already established this by the time this method is invoked.