llvm: switch to native f16 IR type for s390x

LLVM 21 added support for this.
This commit is contained in:
Alex Rønne Petersen 2025-08-02 21:06:39 +02:00
parent c4592da882
commit 53c53a2697
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View file

@ -131,6 +131,7 @@ pub fn F16T(comptime OtherType: type) type {
.riscv32be,
.riscv64,
.riscv64be,
.s390x,
.spirv32,
.spirv64,
=> f16,

View file

@ -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,