Skip to content

Conversation

kunalspathak
Copy link
Contributor

@kunalspathak kunalspathak commented Oct 24, 2024

Replaces #107904

There are few places where if one-half of the double register is freed up, we need to also check if the other half can be freed up, if that is one of the target register for the resolution. We were already doing at one place, but when we do the resolution using temporary register, we should do the same thing. And lastly, the condition I was using to free the other half in #107714 was not sufficient leading to failures which is also fixed in this PR with the same logic.

Fixes: #107841

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 24, 2024
@kunalspathak kunalspathak marked this pull request as ready for review October 24, 2024 12:59
@kunalspathak
Copy link
Contributor Author

/azp run Fuzzlyn

@kunalspathak
Copy link
Contributor Author

/azp run Antigen

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kunalspathak
Copy link
Contributor Author

/azp run Fuzzlyn

@kunalspathak
Copy link
Contributor Author

/azp run Antigen

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kunalspathak
Copy link
Contributor Author

/azp run Fuzzlyn

@kunalspathak
Copy link
Contributor Author

/azp run Antigen

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kunalspathak
Copy link
Contributor Author

@AndyAyersMS @dotnet/jit-contrib PTAL

Copy link
Member

@AndyAyersMS AndyAyersMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a candidate for back porting?

@kunalspathak
Copy link
Contributor Author

Is this a candidate for back porting?

Not really, for the same reason as #105619 (comment).

@kunalspathak
Copy link
Contributor Author

No antigen/fuzzlyn failures on linux/arm

@kunalspathak kunalspathak merged commit ece807a into dotnet:main Oct 29, 2024
116 of 130 checks passed
@kunalspathak kunalspathak deleted the linux-arm-lsra branch October 29, 2024 22:00
@github-actions github-actions bot locked and limited conversation to collaborators Nov 29, 2024
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.

Fuzzlyn: Assertion failed 'interval->physReg == srcRegNum || (srcRegNum == REG_STK && interval->physReg == REG_NA)' during 'LSRA allocate'
2 participants