You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cherrypick][SCEV] Pick fixes for recursive loop guard collection. (#9797)
* [SCEV] Fix exit condition for recursive loop guard collection (llvm#120442)
When assumptions are present `Terms.size()` does not actually count the
number of conditions collected from dominating branches; introduce a
separate counter.
Fixesllvm#120237
(cherry picked from commit acfd26a)
* [SCEV] Make sure starting block is marked as visited when recursively collecting loop guards. (llvm#120749)
When `collectFromBlock` is called without a predecessor (in particular
for loops that don't have a unique predecessor outside the loop) we
never start climbing the predecessor chain, and thus don't mark the
starting block as visited.
Fixesllvm#120615.
(cherry picked from commit f035351)
0 commit comments