Commit a9f68410d0

Alex Rønne Petersen <alex@alexrp.com>
2024-08-07 02:05:43
llvm: Clarify in initializeLLVMTarget() that there's no kalimba backend.
1 parent 650785c
Changed files (1)
src
codegen
src/codegen/llvm.zig
@@ -12083,14 +12083,16 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
             llvm.LLVMInitializeLoongArchAsmParser();
         },
 
-        // LLVM backends that have no initialization functions.
+        // We don't currently support using these backends.
         .spirv,
         .spirv32,
         .spirv64,
-        .kalimba,
         .dxil,
         => {},
 
-        .spu_2 => unreachable, // LLVM does not support this backend
+        // LLVM does does not have a backend for these.
+        .kalimba,
+        .spu_2,
+        => unreachable,
     }
 }