Skip to content

Discard casts when storing normalize-on-load locals #66389

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

Merged

Conversation

jakobbotsch
Copy link
Member

I noticed this when looking at some regressions when promoting more locals. Turning ASG(IND(ADDR(LCL_VAR)), CAST(...)) into ASG(LCL_VAR, CAST(...)) would regress some cases.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 9, 2022
@ghost ghost assigned jakobbotsch Mar 9, 2022
@ghost
Copy link

ghost commented Mar 9, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

I noticed this when looking at some regressions when promoting more locals. Turning ASG(IND(ADDR(LCL_VAR)), CAST(...)) into ASG(LCL_VAR, CAST(...)) would regress some cases.

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

/azp run Antigen, Fuzzlyn

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jakobbotsch
Copy link
Member Author

/azp run Fuzzlyn

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

The issue dotnet#35687 was closed in dotnet#59784 and I can confirm the original
repro mentioned there no longer reproduces with this test.

Fix dotnet#65934
@JulieLeeMSFT JulieLeeMSFT added this to the 7.0.0 milestone Apr 4, 2022
@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr superpmi-asmdiffs

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

jakobbotsch commented Apr 13, 2022

Small set of improvements.

cc @dotnet/jit-contrib PTAL @BruceForstall

@jakobbotsch
Copy link
Member Author

/azp run Fuzzlyn

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

Test failure was #67878 and the Fuzzlyn failures had issues opened for them/are known.

@jakobbotsch jakobbotsch merged commit 0f8dd11 into dotnet:main Apr 17, 2022
@jakobbotsch jakobbotsch deleted the discard-casts-for-normalize-on-load-writes branch April 17, 2022 11:47
@ghost ghost locked as resolved and limited conversation to collaborators May 17, 2022
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.

3 participants