@@ -53,13 +53,12 @@ pub fn intPtrType(target: std.Target) Type {
53
53
.xcore ,
54
54
.hexagon ,
55
55
.m68k ,
56
- .spir ,
57
56
.spirv32 ,
58
57
.arc ,
59
58
.avr ,
60
59
= > return .{ .specifier = .int },
61
60
62
- .sparc , .sparcel = > switch (target .os .tag ) {
61
+ .sparc = > switch (target .os .tag ) {
63
62
.netbsd , .openbsd = > {},
64
63
else = > return .{ .specifier = .int },
65
64
},
@@ -133,7 +132,7 @@ pub fn defaultFunctionAlignment(target: std.Target) u8 {
133
132
return switch (target .cpu .arch ) {
134
133
.arm , .armeb = > 4 ,
135
134
.aarch64 , .aarch64_be = > 4 ,
136
- .sparc , .sparcel , . sparc64 = > 4 ,
135
+ .sparc , .sparc64 = > 4 ,
137
136
.riscv64 = > 2 ,
138
137
else = > 1 ,
139
138
};
@@ -427,7 +426,7 @@ pub fn ldEmulationOption(target: std.Target, arm_endianness: ?std.builtin.Endian
427
426
.powerpc64le = > "elf64lppc" ,
428
427
.riscv32 = > "elf32lriscv" ,
429
428
.riscv64 = > "elf64lriscv" ,
430
- .sparc , .sparcel = > "elf32_sparc" ,
429
+ .sparc = > "elf32_sparc" ,
431
430
.sparc64 = > "elf64_sparc" ,
432
431
.loongarch32 = > "elf32loongarch" ,
433
432
.loongarch64 = > "elf64loongarch" ,
@@ -467,13 +466,11 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
467
466
.powerpcle ,
468
467
.riscv32 ,
469
468
.sparc ,
470
- .sparcel ,
471
469
.thumb ,
472
470
.thumbeb ,
473
471
.x86 ,
474
472
.xcore ,
475
473
.nvptx ,
476
- .spir ,
477
474
.kalimba ,
478
475
.lanai ,
479
476
.wasm32 ,
@@ -487,7 +484,6 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target {
487
484
.aarch64_be = > copy .cpu .arch = .armeb ,
488
485
.nvptx64 = > copy .cpu .arch = .nvptx ,
489
486
.wasm64 = > copy .cpu .arch = .wasm32 ,
490
- .spir64 = > copy .cpu .arch = .spir ,
491
487
.spirv64 = > copy .cpu .arch = .spirv32 ,
492
488
.loongarch64 = > copy .cpu .arch = .loongarch32 ,
493
489
.mips64 = > copy .cpu .arch = .mips ,
@@ -513,7 +509,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
513
509
.lanai ,
514
510
.m68k ,
515
511
.msp430 ,
516
- .sparcel ,
517
512
.spu_2 ,
518
513
.xcore ,
519
514
.xtensa ,
@@ -526,7 +521,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
526
521
.bpfel ,
527
522
.nvptx64 ,
528
523
.wasm64 ,
529
- .spir64 ,
530
524
.spirv64 ,
531
525
.loongarch64 ,
532
526
.mips64 ,
@@ -550,7 +544,6 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target {
550
544
.powerpcle = > copy .cpu .arch = .powerpc64le ,
551
545
.riscv32 = > copy .cpu .arch = .riscv64 ,
552
546
.sparc = > copy .cpu .arch = .sparc64 ,
553
- .spir = > copy .cpu .arch = .spir64 ,
554
547
.spirv32 = > copy .cpu .arch = .spirv64 ,
555
548
.thumb = > copy .cpu .arch = .aarch64 ,
556
549
.thumbeb = > copy .cpu .arch = .aarch64_be ,
@@ -597,7 +590,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
597
590
.riscv64 = > "riscv64" ,
598
591
.sparc = > "sparc" ,
599
592
.sparc64 = > "sparc64" ,
600
- .sparcel = > "sparcel" ,
601
593
.s390x = > "s390x" ,
602
594
.thumb = > "thumb" ,
603
595
.thumbeb = > "thumbeb" ,
@@ -607,8 +599,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
607
599
.xtensa = > "xtensa" ,
608
600
.nvptx = > "nvptx" ,
609
601
.nvptx64 = > "nvptx64" ,
610
- .spir = > "spir" ,
611
- .spir64 = > "spir64" ,
612
602
.spirv32 = > "spirv32" ,
613
603
.spirv64 = > "spirv64" ,
614
604
.kalimba = > "kalimba" ,
@@ -624,8 +614,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
624
614
625
615
const llvm_os = switch (target .os .tag ) {
626
616
.freestanding = > "unknown" ,
627
- .ananas = > "ananas" ,
628
- .cloudabi = > "cloudabi" ,
629
617
.dragonfly = > "dragonfly" ,
630
618
.freebsd = > "freebsd" ,
631
619
.fuchsia = > "fuchsia" ,
0 commit comments