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

ARM64-SVE: Use emitIns_R_R_Imm to handle large immediates correctly #105958

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

amanasifkhalid
Copy link
Member

Fixes #105954. cc @dotnet/arm64-contrib

@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 Aug 5, 2024
Copy link
Contributor

@a74nh a74nh left a comment

Choose a reason for hiding this comment

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

Nit: Add test case for the failing cases.

@amanasifkhalid
Copy link
Member Author

Nit: Add test case for the failing cases.

The repro for the initial failure is quite large, and I haven't had much luck in pruning it while maintaining the repro. Are we ok with checking in a regression test this big?

@jakobbotsch
Copy link
Member

Yeah, I would skip the regression test when it's that large.

The immediate may be the local's stack offset, so to prune it you may need to replace some locals with large stack locals that take up a lot of stack space. Hmm, perhaps a stress mode would be in order...

@amanasifkhalid
Copy link
Member Author

/ba-g blocked by dead-lettering tests from Azure outage

@amanasifkhalid amanasifkhalid merged commit 684998f into dotnet:main Aug 5, 2024
99 of 107 checks passed
@amanasifkhalid amanasifkhalid deleted the fix-emit-add branch August 5, 2024 21:18
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 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.

JIT: Assertion failed !"Instruction cannot be encoded: IF_DI_2A"
3 participants