authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-07 21:41:59+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-07 21:42:22+02:00
log4e566536287d8e2fbc6e01a5bb865c41ac2c4956
tree19da0c2f7941334f506da2b011be71760b80d22a
parentc11b997662c97725f88f5ce5c73ce76dbc199140
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

llvm: Add a comment clarifying our mapping of the opencl OS tag.


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

src/codegen/llvm.zig+1-1
...@@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {...@@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
116 .cuda => "cuda",116 .cuda => "cuda",
117 .nvcl => "nvcl",117 .nvcl => "nvcl",
118 .amdhsa => "amdhsa",118 .amdhsa => "amdhsa",
119 .opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples
119 .ps4 => "ps4",120 .ps4 => "ps4",
120 .ps5 => "ps5",121 .ps5 => "ps5",
121 .elfiamcu => "elfiamcu",122 .elfiamcu => "elfiamcu",
...@@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {...@@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
137 .serenity => "serenity",138 .serenity => "serenity",
138 .vulkan => "vulkan",139 .vulkan => "vulkan",
139140
140 .opencl,
141 .glsl450,141 .glsl450,
142 .plan9,142 .plan9,
143 .minix,143 .minix,