-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Compiler crash when targeting mips64
when returning fp128
after calling a function returning { i8, i128 }
#96432
Labels
Comments
84 tasks
dtcxzyw
added
backend:MIPS
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
new issue
labels
Jun 23, 2024
@llvm/issue-subscribers-backend-mips Author: None (beetrees)
Attempting to compiler the following IR causes LLVM to crash ([compiler explorer](https://godbolt.org/z/cqKz4Ybxb)):
target triple = "mips64el-unknown-linux-gnuabi64"
define fp128 @<!-- -->foo() {
call { i8, i128 } @<!-- -->bar()
ret fp128 0xL00000000000000000000000000000000
}
define { i8, i128 } @<!-- -->bar() {
ret { i8, i128 } zeroinitializer
} Crash backtrace:
|
alexrp
added a commit
to alexrp/zig
that referenced
this issue
Aug 13, 2024
alexrp
added a commit
to alexrp/zig
that referenced
this issue
Aug 14, 2024
richerfu
pushed a commit
to richerfu/zig
that referenced
this issue
Oct 28, 2024
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Nov 3, 2024
With the `compiler-builtins` update to 0.1.137 [1], we now provide symbols necessary to work with `f128` everywhere. This means that we are no longer restricted to 64-bit linux, and can enable tests by default. There are still a handful of platforms that need to remain disabled because of bugs. This patch additionally disables the following: 1. MIPS [2] 2. 32-bit x86 [3] Math support is still off by default since those symbols are not yet available. [1]: rust-lang#132433 [2]: llvm/llvm-project#96432 [3]: llvm/llvm-project#77401
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Nov 4, 2024
With the `compiler-builtins` update to 0.1.137 [1], we now provide symbols necessary to work with `f128` everywhere. This means that we are no longer restricted to 64-bit linux, and can enable tests by default. There are still a handful of platforms that need to remain disabled because of bugs. This patch additionally disables the following: 1. MIPS [2] 2. 32-bit x86 [3] Math support is still off by default since those symbols are not yet available. [1]: rust-lang#132433 [2]: llvm/llvm-project#96432 [3]: llvm/llvm-project#77401
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Nov 4, 2024
With the `compiler-builtins` update to 0.1.137 [1], we now provide symbols necessary to work with `f128` everywhere. This means that we are no longer restricted to 64-bit linux, and can enable tests by default. There are still a handful of platforms that need to remain disabled because of bugs. This patch additionally disables the following: 1. MIPS [2] 2. 32-bit x86 [3] Math support is still off by default since those symbols are not yet available. [1]: rust-lang#132433 [2]: llvm/llvm-project#96432 [3]: llvm/llvm-project#77401
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attempting to compiler the following IR causes LLVM to crash (compiler explorer):
Crash backtrace:
The text was updated successfully, but these errors were encountered: