std.Target: Remove Cpu.Arch.propeller2 and use a CPU feature instead.

This commit is contained in:
Alex Rønne Petersen
2025-01-24 00:50:39 +01:00
parent 5248f0a909
commit 2fe32ef847
9 changed files with 76 additions and 55 deletions

View File

@@ -98,8 +98,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.ve => "ve",
.kalimba,
.propeller1,
.propeller2,
.propeller,
=> unreachable, // Gated by hasLlvmSupport().
};
@@ -11834,7 +11833,6 @@ fn toLlvmCallConvTag(cc_tag: std.builtin.CallingConvention.Tag, target: std.Targ
.m68k_gnu,
.msp430_eabi,
.propeller1_sysv,
.propeller2_sysv,
.s390x_sysv,
.s390x_sysv_vx,
.ve_sysv,
@@ -13023,8 +13021,7 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void {
// LLVM does does not have a backend for these.
.kalimba,
.propeller1,
.propeller2,
.propeller,
=> unreachable,
}
}