This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Use the number of steps of an IV to clamp max BTC (WIP).
Needs ReviewPublic

Authored by fhahn on Oct 16 2020, 12:36 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

As discussed in D89381, we can use the range of an non-wrapping IV to
clamp down the max BTC in some cases.

This impacts a few other test cases that I still need to update and it
seems in some cases the new bound is more precise than the exact exit
count, which I still need to investigate. I just wanted to share this
early.

Diff Detail