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:
Dale Johannesen 2007-12-14 19:25:34 +00:00
parent fd9e473a82
commit 6e959b9afe

View File

@ -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],