aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCCallingConv.td
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-03-17 17:11:08 +0000
committerDale Johannesen <dalej@apple.com>2008-03-17 17:11:08 +0000
commit257f75d0b88a7d3d5ba5b7b7908a97f6dd56e27d (patch)
treeff4b8df9ea98b6bf40e2a47c5b8291c6b47b41a5 /lib/Target/PowerPC/PPCCallingConv.td
parentb7f0c082cbb7a42c6cbe70d0278424f25cc29995 (diff)
Make Complex long long/double/long double work
in ppc64 mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCCallingConv.td')
-rw-r--r--lib/Target/PowerPC/PPCCallingConv.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCCallingConv.td b/lib/Target/PowerPC/PPCCallingConv.td
index 6b6ae0778e..9f916f38d5 100644
--- a/lib/Target/PowerPC/PPCCallingConv.td
+++ b/lib/Target/PowerPC/PPCCallingConv.td
@@ -23,7 +23,7 @@ class CCIfSubtarget<string F, CCAction A>
// Return-value convention for PowerPC
def RetCC_PPC : CallingConv<[
CCIfType<[i32], CCAssignToReg<[R3, R4, R5, R6, R7, R8, R9, R10]>>,
- CCIfType<[i64], CCAssignToReg<[X3, X4]>>,
+ CCIfType<[i64], CCAssignToReg<[X3, X4, X5, X6]>>,
CCIfType<[f32], CCAssignToReg<[F1]>>,
CCIfType<[f64], CCAssignToReg<[F1, F2]>>,