llvm: Disable f16 lowering for loongarch.

This should be reverted with LLVM 20.
This commit is contained in:
Alex Rønne Petersen 2024-10-16 01:19:00 +02:00
parent 5e4249eb8b
commit 7a3626d1c6
No known key found for this signature in database

View File

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