Skip to content
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 movs can be eliminiated #35252

Closed
kunalspathak opened this issue Apr 21, 2020 · 0 comments · Fixed by #38179
Closed

ARM64: Redundant movs can be eliminiated #35252

kunalspathak opened this issue Apr 21, 2020 · 0 comments · Fixed by #38179
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI optimization
Milestone

Comments

@kunalspathak
Copy link
Member

I have seen below pattern in generated code for framework libraries. We can eliminate 2nd move.

       AA0003F8          mov     x24, x0
       AA1803E0          mov     x0, x24

There are approx. 27K such patterns in 16K methods. Details in redundant-mov-2.txt.

@kunalspathak kunalspathak added arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labels Apr 21, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Apr 21, 2020
@BruceForstall BruceForstall added this to the Future milestone Apr 21, 2020
@BruceForstall BruceForstall added optimization and removed untriaged New issue has not been triaged by the area owner labels Apr 21, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI optimization
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants