Skip to content

Commit b1459f3

Browse files
authored
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.
1 parent d4a3955 commit b1459f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.rs

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ pub fn configure_f16_f128(target: &Target) {
6464
"arm64ec" => (false, false),
6565
// `f16` crashes <https://github.com/llvm/llvm-project/issues/50374>
6666
"s390x" => (false, true),
67+
// FIXME(llvm): `f16` test failures fixed by <https://github.com/llvm/llvm-project/pull/107791>
68+
"loongarch64" => (false, true),
6769
// `f128` crashes <https://github.com/llvm/llvm-project/issues/96432>
6870
"mips64" | "mips64r6" => (true, false),
6971
// `f128` crashes <https://github.com/llvm/llvm-project/issues/101545>

0 commit comments

Comments
 (0)