llvm: switch to native f16 IR type for s390x
LLVM 21 added support for this.
2 files changed, 1 insertions(+), 2 deletions(-)
lib/compiler_rt/common.zig+1
| ... | ... | @@ -131,6 +131,7 @@ pub fn F16T(comptime OtherType: type) type { |
| 131 | 131 | .riscv32be, |
| 132 | 132 | .riscv64, |
| 133 | 133 | .riscv64be, |
| 134 | .s390x, |
| 134 | 135 | .spirv32, |
| 135 | 136 | .spirv64, |
| 136 | 137 | => f16, |
src/codegen/llvm.zig-2
| ... | ... | @@ -12861,8 +12861,6 @@ fn backendSupportsF16(target: *const std.Target) bool { |
| 12861 | 12861 | // https://github.com/llvm/llvm-project/issues/97981 |
| 12862 | 12862 | .wasm32, |
| 12863 | 12863 | .wasm64, |
| 12864 | | // https://github.com/llvm/llvm-project/issues/50374 |
| 12865 | | .s390x, |
| 12866 | 12864 | // https://github.com/llvm/llvm-project/issues/97981 |
| 12867 | 12865 | .sparc, |
| 12868 | 12866 | .sparc64, |