authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-07 02:05:43+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-07 09:39:42+02:00
loga9f68410d0a6dd4c2509cf897b283c7ab8f97bdd
treea7f50480c457b08db36ac4d7f9543aa17f1af50a
parent650785c718b29496548b06bd043eb03887a182d1
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

llvm: Clarify in initializeLLVMTarget() that there's no kalimba backend.


1 files changed, 5 insertions(+), 3 deletions(-)

src/codegen/llvm.zig+5-3
...@@ -12083,14 +12083,16 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {...@@ -12083,14 +12083,16 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
12083 llvm.LLVMInitializeLoongArchAsmParser();12083 llvm.LLVMInitializeLoongArchAsmParser();
12084 },12084 },
1208512085
12086 // LLVM backends that have no initialization functions.12086 // We don't currently support using these backends.
12087 .spirv,12087 .spirv,
12088 .spirv32,12088 .spirv32,
12089 .spirv64,12089 .spirv64,
12090 .kalimba,
12091 .dxil,12090 .dxil,
12092 => {},12091 => {},
1209312092
12094 .spu_2 => unreachable, // LLVM does not support this backend12093 // LLVM does does not have a backend for these.
12094 .kalimba,
12095 .spu_2,
12096 => unreachable,
12095 }12097 }
12096}12098}