[llvm-commits] [llvm] r50324 - /llvm/trunk/lib/Target/X86/X86CallingConv.td
Anton Korobeynikov
asl at math.spbu.ru
Sun Apr 27 15:54:10 PDT 2008
Author: asl
Date: Sun Apr 27 17:54:09 2008
New Revision: 50324
URL: http://llvm.org/viewvc/llvm-project?rev=50324&view=rev
Log:
Handle fp80 for win64
Modified:
llvm/trunk/lib/Target/X86/X86CallingConv.td
Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86CallingConv.td?rev=50324&r1=50323&r2=50324&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86CallingConv.td (original)
+++ llvm/trunk/lib/Target/X86/X86CallingConv.td Sun Apr 27 17:54:09 2008
@@ -165,7 +165,6 @@
// Calling convention used on Win64
def CC_X86_Win64_C : CallingConv<[
// FIXME: Handle byval stuff.
- // FIXME: Handle fp80.
// FIXME: Handle varargs.
// Promote i8/i16 arguments to i32.
@@ -194,6 +193,10 @@
// 16-byte aligned if there are no more registers to hold them.
CCIfType<[i32, i64, f32, f64], CCAssignToStack<8, 16>>,
+ // Long doubles get stack slots whose size and alignment depends on the
+ // subtarget.
+ CCIfType<[f80], CCAssignToStack<0, 0>>,
+
// Vectors get 16-byte stack slots that are 16-byte aligned.
CCIfType<[v16i8, v8i16, v4i32, v2i64, v4f32, v2f64], CCAssignToStack<16, 16>>,
More information about the llvm-commits
mailing list