Skip to content
Unverified Commit 00396e6a authored by Florian Hahn's avatar Florian Hahn Committed by GitHub
Browse files

[ConstraintElim] Support arbitrary incoming values for inductions (#68032)

Support arbitray incoming values for AddRecs by getting the loop
predecessor and checking if its SCEV matches the AddRec start.

This is done after the existing check, which can help to catch cases
where the expression gets simplified by SCEV to either an IR constant or
existing value which can be used instead.
parent e577e702
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment