-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Broken intrinsic llvm.ppc.cfence.p0sl_s
generated
#55983
Labels
Comments
vchuravy
added
bug
Indicates an unexpected problem or unintended behavior
backend:PowerPC
labels
Jun 10, 2022
@llvm/issue-subscribers-bug |
@llvm/issue-subscribers-backend-powerpc |
Posted https://reviews.llvm.org/D127554. |
Thanks! Could you also add a test for JuliaLang/julia#45019 (comment) |
freebsd-git
pushed a commit
to freebsd/freebsd-src
that referenced
this issue
Dec 16, 2022
Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes llvm/llvm-project#55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days
freebsd-git
pushed a commit
to freebsd/freebsd-src
that referenced
this issue
Dec 25, 2022
Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes llvm/llvm-project#55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days (cherry picked from commit 4589169)
freebsd-git
pushed a commit
to freebsd/freebsd-src
that referenced
this issue
Dec 25, 2022
Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes llvm/llvm-project#55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days (cherry picked from commit 4589169)
bsdjhb
pushed a commit
to bsdjhb/cheribsd
that referenced
this issue
Feb 22, 2023
Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes llvm/llvm-project#55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days
laffer1
pushed a commit
to MidnightBSD/src
that referenced
this issue
Jun 27, 2023
Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes llvm/llvm-project#55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days (cherry picked from commit 4589169768490461995f07713c8e9d7bab6bf277)
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Mar 13, 2024
…li-obk Only generate a ptrtoint in AtomicPtr codegen when absolutely necessary This special case was added in this PR: rust-lang#77611 in response to this error message: ``` Intrinsic has incorrect argument type! void ({}*)* `@llvm.ppc.cfence.p0sl_s` in function rust_oom LLVM ERROR: Broken function found, compilation aborted! [RUSTC-TIMING] std test:false 20.161 error: could not compile `std` ``` But when I tried searching for more information about that intrinsic I found this: llvm/llvm-project#55983 which is a report of someone hitting this same error and a fix was landed in LLVM, 2 years after the above Rust PR.
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this issue
Mar 14, 2024
Only generate a ptrtoint in AtomicPtr codegen when absolutely necessary This special case was added in this PR: rust-lang/rust#77611 in response to this error message: ``` Intrinsic has incorrect argument type! void ({}*)* `@llvm.ppc.cfence.p0sl_s` in function rust_oom LLVM ERROR: Broken function found, compilation aborted! [RUSTC-TIMING] std test:false 20.161 error: could not compile `std` ``` But when I tried searching for more information about that intrinsic I found this: llvm/llvm-project#55983 which is a report of someone hitting this same error and a fix was landed in LLVM, 2 years after the above Rust PR.
lnicola
pushed a commit
to lnicola/rust-analyzer
that referenced
this issue
Apr 7, 2024
Only generate a ptrtoint in AtomicPtr codegen when absolutely necessary This special case was added in this PR: rust-lang/rust#77611 in response to this error message: ``` Intrinsic has incorrect argument type! void ({}*)* `@llvm.ppc.cfence.p0sl_s` in function rust_oom LLVM ERROR: Broken function found, compilation aborted! [RUSTC-TIMING] std test:false 20.161 error: could not compile `std` ``` But when I tried searching for more information about that intrinsic I found this: llvm/llvm-project#55983 which is a report of someone hitting this same error and a fix was landed in LLVM, 2 years after the above Rust PR.
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 27, 2024
Only generate a ptrtoint in AtomicPtr codegen when absolutely necessary This special case was added in this PR: rust-lang/rust#77611 in response to this error message: ``` Intrinsic has incorrect argument type! void ({}*)* `@llvm.ppc.cfence.p0sl_s` in function rust_oom LLVM ERROR: Broken function found, compilation aborted! [RUSTC-TIMING] std test:false 20.161 error: could not compile `std` ``` But when I tried searching for more information about that intrinsic I found this: llvm/llvm-project#55983 which is a report of someone hitting this same error and a fix was landed in LLVM, 2 years after the above Rust PR.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llc 13&14 fails with:
The text was updated successfully, but these errors were encountered: