llvm: Fix lowering of gnuilp32 ABI to be gnu_ilp32.

LLVM doesn't even recognize the gnuilp32 spelling as an alternative.
This commit is contained in:
Alex Rønne Petersen 2024-10-16 06:41:00 +02:00
parent d61e4ef8b0
commit a5bc9cbb15
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -693,7 +693,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.gnuf32 => "gnuf32",
.gnusf => "gnusf",
.gnux32 => "gnux32",
.gnuilp32 => "gnuilp32",
.gnuilp32 => "gnu_ilp32",
.code16 => "code16",
.eabi => "eabi",
.eabihf => "eabihf",

View File

@ -263,7 +263,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.gnuf32 => "gnuf32",
.gnusf => "gnusf",
.gnux32 => "gnux32",
.gnuilp32 => "gnuilp32",
.gnuilp32 => "gnu_ilp32",
.code16 => "code16",
.eabi => "eabi",
.eabihf => "eabihf",