diff options
| author | hev <wangrui@loongson.cn> | 2024-11-01 18:00:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 10:00:00 +0000 |
| commit | 53b3e71bbcab44510a0c3e0ff9e721a6592d677d (patch) | |
| tree | ca6beda70eebb26bc167a1095ab51612dff175ec /library | |
| parent | 94e6ed373a0597f4a9c6141c7a5e6d5fa0209daf (diff) | |
| download | rust-53b3e71bbcab44510a0c3e0ff9e721a6592d677d.tar.gz rust-53b3e71bbcab44510a0c3e0ff9e721a6592d677d.zip | |
Disable `f16` for LoongArch64 (#722)
Disable `f161` for LoongArch64 due to incorrect code generation on LLVM 19, which causes failures in `testcrate/tests/conv.rs`. This workaround will remain in place until llvm/llvm-project#109093 is merged or we upgrade to LLVM 20.
Diffstat (limited to 'library')
| -rw-r--r-- | library/compiler-builtins/configure.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/compiler-builtins/configure.rs b/library/compiler-builtins/configure.rs index e23c0e83935..68b4d68e61b 100644 --- a/library/compiler-builtins/configure.rs +++ b/library/compiler-builtins/configure.rs @@ -64,6 +64,8 @@ pub fn configure_f16_f128(target: &Target) { "arm64ec" => (false, false), // `f16` crashes <https://github.com/llvm/llvm-project/issues/50374> "s390x" => (false, true), + // FIXME(llvm): `f16` test failures fixed by <https://github.com/llvm/llvm-project/pull/107791> + "loongarch64" => (false, true), // `f128` crashes <https://github.com/llvm/llvm-project/issues/96432> "mips64" | "mips64r6" => (true, false), // `f128` crashes <https://github.com/llvm/llvm-project/issues/101545> |
