Commit 53c53a2697

Alex Rønne Petersen <alex@alexrp.com>
2025-08-02 21:06:39
llvm: switch to native f16 IR type for s390x
LLVM 21 added support for this.
1 parent c4592da
Changed files (2)
lib
compiler_rt
src
codegen
lib/compiler_rt/common.zig
@@ -131,6 +131,7 @@ pub fn F16T(comptime OtherType: type) type {
         .riscv32be,
         .riscv64,
         .riscv64be,
+        .s390x,
         .spirv32,
         .spirv64,
         => f16,
src/codegen/llvm.zig
@@ -12861,8 +12861,6 @@ fn backendSupportsF16(target: *const std.Target) bool {
         // https://github.com/llvm/llvm-project/issues/97981
         .wasm32,
         .wasm64,
-        // https://github.com/llvm/llvm-project/issues/50374
-        .s390x,
         // https://github.com/llvm/llvm-project/issues/97981
         .sparc,
         .sparc64,