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: fix x86 codegen issue #64476

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

AndyAyersMS
Copy link
Member

We were not calling genProduceReg in one case, leading to a missing
def and liveness assert. Normally this would have been a temp assign
followed by a copy to a local; evidently we don't track liveness for
temps and so don't notice the missing def, and the subsequent copy defs
the local and all seems well.

Forward sub gets rid of the copy and exposes the issue under jit stress.

We were not calling `genProduceReg` in one case, leading to a missing
def and liveness assert. Normally this would have been a temp assign
followed by a copy to a local; evidently we don't track liveness for
temps and so don't notice the missing def, and the subsequent copy defs
the local and all seems well.

Forward sub gets rid of the copy and exposes the issue under jit stress.
@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 Jan 28, 2022
@ghost ghost assigned AndyAyersMS Jan 28, 2022
@ghost
Copy link

ghost commented Jan 28, 2022

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

Issue Details

We were not calling genProduceReg in one case, leading to a missing
def and liveness assert. Normally this would have been a temp assign
followed by a copy to a local; evidently we don't track liveness for
temps and so don't notice the missing def, and the subsequent copy defs
the local and all seems well.

Forward sub gets rid of the copy and exposes the issue under jit stress.

Author: AndyAyersMS
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@AndyAyersMS
Copy link
Member Author

Fixes the Vector_2_3_4 failure seen here in forward sub (#63720).

cc @dotnet/jit-contrib

@AndyAyersMS AndyAyersMS merged commit 73a5fcd into dotnet:main Jan 29, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 28, 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.

2 participants