-
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
JIT: Fix delegate GDV for loops with multiple cloning options #109407
Conversation
For loops that we consider candidates for cloning with multiple cloning options there was a logic bug that caused cloning to exit early. This affected even canonical loops over arrays.
Can we make it into .NET 9 servicing as well? It seems to be a bug instead of an optimization. |
This is unlikely to meet the bar for servicing since it is just a missing optimization and no bad codegen. |
cc @dotnet/jit-contrib PTAL @AndyAyersMS Diffs. For win-x64: 34 affected contexts in benchmarks.run_pgo, and 182 (diffs) + 90 (misses) affected contexts in libraries_tests.run. Sadly we have no aspnet collection at the moment, so can't see how this affects it. |
I'll have one up later today... |
/azp run runtime-coreclr superpmi-diffs |
Azure Pipelines successfully started running 1 pipeline(s). |
26 hits in the asp.net collection it appears. |
For loops that we consider candidates for cloning with multiple cloning options there was a logic bug that caused cloning to exit early. This affected even canonical loops over arrays if they also had a delegate GDV cloning option.
Fix #109379
New codegen: