aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:24:57 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:24:57 +0000
commit3a9959fd4e658ed8a62df3749aa768d019d46dc4 (patch)
treec39d6a9df7358de95b97652680afac144e03c8cb
parent75eef89ddbaed0783bb926bc15a426c27b9a4bc3 (diff)
f32/f64 regs are stored on stack if we're short in FP regs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76036 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SystemZ/SystemZCallingConv.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/SystemZCallingConv.td b/lib/Target/SystemZ/SystemZCallingConv.td
index 585c4b290e..c81decfa8e 100644
--- a/lib/Target/SystemZ/SystemZCallingConv.td
+++ b/lib/Target/SystemZ/SystemZCallingConv.td
@@ -35,12 +35,12 @@ def CC_SystemZ : CallingConv<[
// integer registers.
CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D, R6D]>>,
- // The first 4 ifloating point arguments of non-varargs functions are passed
+ // The first 4 floating point arguments of non-varargs functions are passed
// in FP registers.
CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>,
CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>>,
// Integer values get stored in stack slots that are 8 bytes in
// size and 8-byte aligned.
- CCIfType<[i64], CCAssignToStack<8, 8>>
+ CCIfType<[i64, f32, f64], CCAssignToStack<8, 8>>
]>;