mirror of
https://github.com/ziglang/zig.git
synced 2026-02-11 20:11:23 +00:00
llvm: Disable f16 lowering for loongarch.
This should be reverted with LLVM 20.
This commit is contained in:
parent
5e4249eb8b
commit
7a3626d1c6
@ -12453,6 +12453,9 @@ fn backendSupportsF80(target: std.Target) bool {
|
||||
/// if it produces miscompilations.
|
||||
fn backendSupportsF16(target: std.Target) bool {
|
||||
return switch (target.cpu.arch) {
|
||||
// LoongArch can be removed from this list with LLVM 20.
|
||||
.loongarch32,
|
||||
.loongarch64,
|
||||
.hexagon,
|
||||
.powerpc,
|
||||
.powerpcle,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user