From 6e959b9afe0daa94cc9621ca0c7dab75e2a7bf43 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 14 Dec 2007 19:25:34 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86CallingConv.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86CallingConv.td b/lib/Target/X86/X86CallingConv.td index aacd5a401d7..c1196e68756 100644 --- a/lib/Target/X86/X86CallingConv.td +++ b/lib/Target/X86/X86CallingConv.td @@ -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],