| author | |
| committer | |
| log | e4f38a611f1ba669434d52e753ae2c729911eead |
| tree | 155adc7d3bd3443b3d2dfb2a01553f2a9cf2a8bf |
| parent | 1c858ba7e302c2e0bcff1e54c599865eae4c3578 |
| signature |
This was fixed in LLVM 21, in particular for targets older than v68.2 files changed, 1 insertions(+), 3 deletions(-)
lib/compiler_rt/common.zig+1-1| ... | ... | @@ -123,6 +123,7 @@ pub fn F16T(comptime OtherType: type) type { |
| 123 | 123 | .thumbeb, |
| 124 | 124 | .aarch64, |
| 125 | 125 | .aarch64_be, |
| 126 | .hexagon, | |
| 126 | 127 | .loongarch32, |
| 127 | 128 | .loongarch64, |
| 128 | 129 | .nvptx, |
| ... | ... | @@ -135,7 +136,6 @@ pub fn F16T(comptime OtherType: type) type { |
| 135 | 136 | .spirv32, |
| 136 | 137 | .spirv64, |
| 137 | 138 | => f16, |
| 138 | .hexagon => if (builtin.target.cpu.has(.hexagon, .v68)) f16 else u16, | |
| 139 | 139 | .x86, .x86_64 => if (builtin.target.os.tag.isDarwin()) switch (OtherType) { |
| 140 | 140 | // Starting with LLVM 16, Darwin uses different abi for f16 |
| 141 | 141 | // depending on the type of the other return/argument..??? |
src/codegen/llvm.zig-2| ... | ... | @@ -12852,8 +12852,6 @@ fn backendSupportsF16(target: *const std.Target) bool { |
| 12852 | 12852 | // https://github.com/llvm/llvm-project/issues/97981 |
| 12853 | 12853 | .csky, |
| 12854 | 12854 | // https://github.com/llvm/llvm-project/issues/97981 |
| 12855 | .hexagon, | |
| 12856 | // https://github.com/llvm/llvm-project/issues/97981 | |
| 12857 | 12855 | .powerpc, |
| 12858 | 12856 | .powerpcle, |
| 12859 | 12857 | .powerpc64, |