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
As per #122368 (comment), some paths in morph restrict optimizations to only running as part of global morph and does so to avoid having to deal with VN updates. We should investigate whether these checks can be removed and whether we can keep VN up to date even if morph is called later, or whether we can stop calling morph entirely after VN.
I think most of the if (fgGlobalMorph) still should be removed from morph. It's just that today that will most likely lead to CQ regressions when called from late phases, because morph erases VN during transformations. It should update it instead.
changed the title [-]Consider removing some of the `if (fgGlobalMorph)` checks as it no longer interferes with CSE candidates[/-][+]Review `if (fgGlobalMorph)` checks[/+]on Jan 22, 2026
Activity
dotnet-policy-service commentedon Jan 7, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Jan 7, 2026
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
fgGlobalMorphchecks in morph #108875jakobbotsch commentedon Jan 8, 2026
Yes, this was already done with #108875. The remaining checks are not for the sake of CSE candidates.
EgorBo commentedon Jan 16, 2026
I think most of the
if (fgGlobalMorph)still should be removed from morph. It's just that today that will most likely lead to CQ regressions when called from late phases, because morph erases VN during transformations. It should update it instead.[-]Consider removing some of the `if (fgGlobalMorph)` checks as it no longer interferes with CSE candidates[/-][+]Review `if (fgGlobalMorph)` checks[/+]jakobbotsch commentedon Jan 22, 2026
I edited the title just to make it a bit clearer that it's not CSE candidate related anymore.