about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorManuel Drehwald <git@manuel.drehwald.info>2025-07-23 16:49:39 -0700
committerManuel Drehwald <git@manuel.drehwald.info>2025-07-23 16:49:39 -0700
commit732097ea61c9282a82d8b5fe8d5e8b00c6ac8ccd (patch)
tree623cc8243204ef3f2d93ab5e24672ae645fa9bb0 /compiler/rustc_codegen_llvm/src
parent82310651b93a594a3fd69015e1562186a080d94c (diff)
downloadrust-732097ea61c9282a82d8b5fe8d5e8b00c6ac8ccd.tar.gz
rust-732097ea61c9282a82d8b5fe8d5e8b00c6ac8ccd.zip
disable cfg.has_reliable_f128 on amdgcn
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index 0fb987bdf82..3bcd417941e 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -405,6 +405,8 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) {
         ("mips64" | "mips64r6", _) => false,
         // Selection bug <https://github.com/llvm/llvm-project/issues/95471>
         ("nvptx64", _) => false,
+        // Unsupported https://github.com/llvm/llvm-project/issues/121122
+        ("amdgpu", _) => false,
         // ABI bugs <https://github.com/rust-lang/rust/issues/125109> et al. (full
         // list at <https://github.com/rust-lang/rust/issues/116909>)
         ("powerpc" | "powerpc64", _) => false,