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 LSRA arm32 quirk #101791

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

jakobbotsch
Copy link
Member

For arm32 this query can return an earlier location if the upper half register assigned to a TYP_DOUBLE interval has an earlier ref.

For arm32 this query can return an earlier location if the upper half
register assigned to a TYP_DOUBLE interval has an earlier ref.
@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 May 2, 2024
@@ -5874,6 +5874,8 @@ void LinearScan::allocateRegisters()
continue;
}

assert(!currentRefPosition.isPhysRegRef);
Copy link
Member Author

Choose a reason for hiding this comment

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

Also added this to match allocateRegistersMinimal (forgot it in the previous PR)

Copy link
Contributor

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

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @kunalspathak

No arm32 diffs, so apparently this quirk wasn't necessary after all.

Copy link
Member

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

@jakobbotsch jakobbotsch merged commit 24ded28 into dotnet:main May 2, 2024
104 of 107 checks passed
@jakobbotsch jakobbotsch deleted the lsra-quirk branch May 2, 2024 19:21
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
For arm32 this query can return an earlier location if the upper half
register assigned to a TYP_DOUBLE interval has an earlier ref.
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
For arm32 this query can return an earlier location if the upper half
register assigned to a TYP_DOUBLE interval has an earlier ref.
@github-actions github-actions bot locked and limited conversation to collaborators Jun 2, 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.

2 participants