diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-04-02 19:19:43 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-04-02 14:27:06 -0500 |
| commit | 9b8ccf67c691dd9ed1f1ba2b39608fdd03ce75dd (patch) | |
| tree | 8927d0da53af52f17df9d48414576955790bc138 | |
| parent | 30c128006a71eb9f0c2039a7389c4b636c1ce018 (diff) | |
| download | rust-9b8ccf67c691dd9ed1f1ba2b39608fdd03ce75dd.tar.gz rust-9b8ccf67c691dd9ed1f1ba2b39608fdd03ce75dd.zip | |
Revert "Disable `f16` on AArch64 without the `neon` feature"
The LLVM issue [1] was resolved and the fix was synced to rust-lang/rust in [2]. This reverts commit 5cf417a9e92bb48e4e55756a645826fd167b9f3a. [1]: https://github.com/llvm/llvm-project/issues/129394 [2]: https://github.com/rust-lang/rust/pull/138695
| -rw-r--r-- | library/compiler-builtins/compiler-builtins/configure.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/compiler-builtins/compiler-builtins/configure.rs b/library/compiler-builtins/compiler-builtins/configure.rs index 2f134e57818..4be0b3ca23c 100644 --- a/library/compiler-builtins/compiler-builtins/configure.rs +++ b/library/compiler-builtins/compiler-builtins/configure.rs @@ -91,8 +91,6 @@ pub fn configure_f16_f128(target: &Target) { let f16_enabled = match target.arch.as_str() { // Unsupported <https://github.com/llvm/llvm-project/issues/94434> "arm64ec" => false, - // Crash in LLVM20 <https://github.com/llvm/llvm-project/issues/129394> - "aarch64" if !target.features.iter().any(|f| f == "neon") => false, // Selection failure <https://github.com/llvm/llvm-project/issues/50374> "s390x" => false, // Infinite recursion <https://github.com/llvm/llvm-project/issues/97981> |
