From 28bf7ac219d72ad35035177aa7cc367eecef5f5c Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 7 Jan 2008 13:44:22 +0000 Subject: [PATCH] Fix long double support on x86-32 linux. llvm-svn: 45701 --- llvm/lib/Target/X86/X86CallingConv.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86CallingConv.td b/llvm/lib/Target/X86/X86CallingConv.td index 3a940003a3b6..f63144fef85a 100644 --- a/llvm/lib/Target/X86/X86CallingConv.td +++ b/llvm/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<16, 4>>, + CCIfType<[f80], CCAssignToStack<0, 0>>, // The first 4 vector arguments are passed in XMM registers. CCIfType<[v16i8, v8i16, v4i32, v2i64, v4f32, v2f64],