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

JIT: remove phis right after optimizing #110821

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

AndyAyersMS
Copy link
Member

They serve no useful purpose once SSA is gone, and they potentially confuse other parts of the JIT.

Was also going to make the PHIs zero cost, but this apparently was already done (not sure when/how).

Closes #88841

They serve no useful purpose once SSA is gone, and they potentially confuse
other parts of the JIT.

Was also going to make the PHIs zero cost, but this apparently was already
done (not sure when/how).

Closes dotnet#88841
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 18, 2024
@AndyAyersMS
Copy link
Member Author

@jakobbotsch PTAL
cc @dotnet/jit-contrib

Unblocks a few if-conversion opportunities. Many fewer diffs then when I originally tried this.

@AndyAyersMS
Copy link
Member Author

Diffs

@AndyAyersMS AndyAyersMS merged commit 43f7d32 into dotnet:main Dec 18, 2024
108 checks passed
MichalStrehovsky added a commit that referenced this pull request Dec 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PhiDefinitions are not zero cost
2 participants