-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix fgOptimizeAddition opt for AOT #94350
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsFixes #94332 Thanks @MichalStrehovsky for finding the root cause, indeed, a Morph optimization folded "CNS1 + CNS2" where it wasn't legal
|
/azp list |
This comment was marked as resolved.
This comment was marked as resolved.
/azp run runtime-coreclr outerloop, runtime-coreclr jitstress, runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 3 pipeline(s). |
@dotnet/jit-contrib PTAL, no diffs but fixes the AOT issue. I assume this will need to be backported to .NET 8.0 |
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6773318364 |
Fixes #94332
Thanks @MichalStrehovsky for finding the root cause, indeed, a Morph optimization folded "CNS1 + CNS2" where it wasn't legal.
gtFoldExprConst
cares about such cases so I am just forwarding the folding to that.