-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 assertion tripped when building compiler_rt for sparc64 #12011
Comments
A minimal testcase for it:
Seems like the Will look into it 👀 |
Upstream patch ticket: https://reviews.llvm.org/D132465 |
Upstream patch landed as of d3fcbee10d89 on Oct 17 2022, 5:02 PM. Can anybody validate, that the problem does not occur anymore on sparc64? |
Yeah. With patched LLVM, the testcase in the OP does not error anymore when building for sparc64-linux for me. |
the aforementioned commit landed in llvm 16 so we'll be able to close once zig changes over |
Edit: I tried restoring the test case, but it hits llvm/llvm-project#103493. |
Fixed with the merge of LLVM 19 branch in c6ad452. |
Zig Version:
0.10.0-dev.2848+86570b3e2
This is tripping an assertion when using a debug build of LLVM 13, during the optimization of the
fmaq
function of compiler-rt:This is a bug in LLVM 13. The next steps are:
Until then this test case will be disabled so that we are not tripping LLVM assertions.
The text was updated successfully, but these errors were encountered: