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
{{ message }}
Repository navigation
JIT: optInvertLoops depends on bbNum ordering but doesn't guarantee it #80809
While working on moving pred list building earlier I am seeing spurious diffs from optInvertLoops.
Looks like it expects blocks to have been renumbered but it doesn't check or try and renumber. Morph (which is a bit upstream) will often renumber so this only impacts a small set of methods.
Activity
AndyAyersMS commentedon Jan 18, 2023
cc @BruceForstall
I will fix this as a one-off. Seems like we might be on the verge of phases having checked preconditions or something...
BruceForstall commentedon Jan 18, 2023
That would be useful. I've found various places which depend on bbNum ordering when it's not clear they are properly ordered.
JIT: update bbNums before inverting loops
JIT: update bbNums before inverting loops (dotnet#80827)