-
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
ARM64 Redundant load/stores for methods that operates/returns structs #35071
Comments
I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label. |
@CarolEidt , @sandreenko - Feel free to tag this to an existing issue if this is already tracked. |
I believe that this would be addressed by #34105 |
@CarolEidt - Now that #34105 is closed, it looks like this case is still not handled and I can see that we still generate redundant load and store. |
the issue was not fixed in 6.0, I will try to fix it 7.0. #53956 is the same issue but with a simpler repro, so closing this one. |
Part of library code SqlDouble where we are generating code that does redundant stores and loads of x0, x1, x2 and x3 and can be removed for arm64. I tried trimming the repro, but it was not getting the generated code that it would do for the actual scenario. So here is the repro code:
On ARM64, it generates:
category:cq
theme:optimization
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: