mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
x86-32 long doubles are 4-byte aligned on the stack
for parameter passing (only for that, on Darwin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd9e473a82
commit
6e959b9afe
@ -183,7 +183,7 @@ def CC_X86_32_Common : CallingConv<[
|
||||
|
||||
// Long doubles get slots whose size and alignment depends on the
|
||||
// subtarget.
|
||||
CCIfType<[f80], CCAssignToStack<0, 0>>,
|
||||
CCIfType<[f80], CCAssignToStack<16, 4>>,
|
||||
|
||||
// The first 4 vector arguments are passed in XMM registers.
|
||||
CCIfType<[v16i8, v8i16, v4i32, v2i64, v4f32, v2f64],
|
||||
|
Loading…
Reference in New Issue
Block a user