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

[llvm][Mips] Bail on underaligned loads/stores in FastISel. #106231

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Aug 27, 2024

We encountered this problem in Zig, causing all of our mips(el)-linux-gnueabi* tests to fail: ziglang/zig#21215

For these unusual cases, let's just bail in MipsFastISel since MipsTargetLowering can handle them fine.

Note: I don't have commit access.

@brad0
Copy link
Contributor

brad0 commented Aug 29, 2024

@topperc @wzssyqa @yingopq

@alexrp alexrp force-pushed the llvm-mips-underaligned-ldst branch from e2102e7 to caa9db1 Compare August 29, 2024 06:23
@brad0 brad0 requested a review from topperc August 30, 2024 11:42
@alexrp
Copy link
Member Author

alexrp commented Sep 2, 2024

Added handling for r6 in FastISel and updated the test to exercise more configurations.

@alexrp alexrp force-pushed the llvm-mips-underaligned-ldst branch from caa9db1 to 1299cc9 Compare September 2, 2024 23:10
@wzssyqa wzssyqa merged commit c0b3e49 into llvm:main Sep 12, 2024
8 checks passed
@alexrp alexrp deleted the llvm-mips-underaligned-ldst branch September 12, 2024 21:16
richerfu pushed a commit to richerfu/zig that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants