mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Change our alignment for 128bit numbers to match llvm 18 and correct abi
This commit is contained in:
parent
e7be9d435d
commit
90a1468e37
1 changed files with 3 additions and 3 deletions
|
@ -130,10 +130,10 @@ impl IntWidth {
|
||||||
// according to https://reviews.llvm.org/D28990#655487
|
// according to https://reviews.llvm.org/D28990#655487
|
||||||
//
|
//
|
||||||
// however, rust does not always think that this is true
|
// however, rust does not always think that this is true
|
||||||
|
// Our alignmets here are correct, but they will not match rust/zig/llvm until they update to llvm version 18.
|
||||||
match target_info.architecture {
|
match target_info.architecture {
|
||||||
Architecture::X86_64 => 16,
|
Architecture::X86_64 | Architecture::Aarch64 | Architecture::X86_32 => 16,
|
||||||
Architecture::Aarch64 | Architecture::Aarch32 | Architecture::Wasm32 => 16,
|
Architecture::Aarch32 | Architecture::Wasm32 => 8,
|
||||||
Architecture::X86_32 => 8,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue