mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 04:24:33 +01:00
LLVM: fix x86 and x86_64 datalayout string calculation
now it matches clang again
This commit is contained in:
parent
708894cf99
commit
88ada2121f
1 changed files with 14 additions and 0 deletions
|
|
@ -671,6 +671,20 @@ const DataLayoutBuilder = struct {
|
|||
abi = size;
|
||||
force_abi = size == 64;
|
||||
},
|
||||
.x86 => switch (size) {
|
||||
128 => {
|
||||
abi = size;
|
||||
pref = size;
|
||||
},
|
||||
else => {},
|
||||
},
|
||||
.x86_64 => switch (size) {
|
||||
64, 128 => {
|
||||
abi = size;
|
||||
pref = size;
|
||||
},
|
||||
else => {},
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue