-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
m68k fails to select atomic store where address is sum of two registers #107939
Labels
Comments
@llvm/issue-subscribers-backend-m68k Author: Jacob Lifshay (programmerjake)
encountered when trying to build Rust's standard library for m68k:
https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/M86k.20Compilation.20Failures/near/468939538
reduced: define void @<!-- -->f(i8 %v, ptr %p, i32 %o) {
start:
%p2 = getelementptr i8, ptr %p, i32 %o
store atomic i8 %v, ptr %p2 monotonic, align 1
ret void
}
|
This was referenced Sep 13, 2024
#108982 doesn't appear to address this use case:
|
@deltro68 I was trying to keep it simple for my first PR to llvm until I know the process. I can add ARID addressing mode support (which should fix the other case you've shown here) in a followup if desirable |
EricWF
pushed a commit
to efcs/llvm-project
that referenced
this issue
Oct 22, 2024
Only ARI was supported, this PR adds ARII support for atomic loads/stores (also with zero displacement). Closes llvm#107939
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
encountered when trying to build Rust's standard library for m68k:
https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/M86k.20Compilation.20Failures/near/468939538
reduced:
https://llvm.godbolt.org/z/qP4nsoq58
The text was updated successfully, but these errors were encountered: