aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler/aro
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-07-30 00:11:12 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-07-30 06:30:25 +0200
commit1e9278d718f7eec0aaad4dc296757c70e7f0f68b (patch)
tree57a9975e245b95d85a308f07dbb4335bbbe98399 /lib/compiler/aro
parent38e0f049c531e83ec2eec80d50b624e6c3b8c486 (diff)
downloadzig-1e9278d718f7eec0aaad4dc296757c70e7f0f68b.tar.gz
zig-1e9278d718f7eec0aaad4dc296757c70e7f0f68b.zip
std.Target: Remove `spir`/`spir64` architecture tags.
These were for very old OpenCL have been long abandoned in favor of SPIR-V. * https://github.com/KhronosGroup/SPIR * https://github.com/KhronosGroup/SPIR-Tools
Diffstat (limited to 'lib/compiler/aro')
-rw-r--r--lib/compiler/aro/aro/target.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/compiler/aro/aro/target.zig b/lib/compiler/aro/aro/target.zig
index 8a864eb0ad..5822801036 100644
--- a/lib/compiler/aro/aro/target.zig
+++ b/lib/compiler/aro/aro/target.zig
@@ -53,7 +53,6 @@ pub fn intPtrType(target: std.Target) Type {
.xcore,
.hexagon,
.m68k,
- .spir,
.spirv32,
.arc,
.avr,
@@ -473,7 +472,6 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
.x86,
.xcore,
.nvptx,
- .spir,
.kalimba,
.lanai,
.wasm32,
@@ -487,7 +485,6 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
.aarch64_be => copy.cpu.arch = .armeb,
.nvptx64 => copy.cpu.arch = .nvptx,
.wasm64 => copy.cpu.arch = .wasm32,
- .spir64 => copy.cpu.arch = .spir,
.spirv64 => copy.cpu.arch = .spirv32,
.loongarch64 => copy.cpu.arch = .loongarch32,
.mips64 => copy.cpu.arch = .mips,
@@ -526,7 +523,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
.bpfel,
.nvptx64,
.wasm64,
- .spir64,
.spirv64,
.loongarch64,
.mips64,
@@ -550,7 +546,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
.powerpcle => copy.cpu.arch = .powerpc64le,
.riscv32 => copy.cpu.arch = .riscv64,
.sparc => copy.cpu.arch = .sparc64,
- .spir => copy.cpu.arch = .spir64,
.spirv32 => copy.cpu.arch = .spirv64,
.thumb => copy.cpu.arch = .aarch64,
.thumbeb => copy.cpu.arch = .aarch64_be,
@@ -607,8 +602,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.xtensa => "xtensa",
.nvptx => "nvptx",
.nvptx64 => "nvptx64",
- .spir => "spir",
- .spir64 => "spir64",
.spirv32 => "spirv32",
.spirv64 => "spirv64",
.kalimba => "kalimba",