summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCFastISel.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-28 13:25:19 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-28 13:25:19 +0000
commit81920b0a253c388d75b14ce8a80a8d977fac4d04 (patch)
tree1800ab124ee1dcb91ba8c1dc82669265d5363896 /llvm/lib/Target/PowerPC/PPCFastISel.cpp
parent72b0e38b267a0c47d56d746aaf370be937ef96f4 (diff)
downloadbcm5719-llvm-81920b0a253c388d75b14ce8a80a8d977fac4d04.tar.gz
bcm5719-llvm-81920b0a253c388d75b14ce8a80a8d977fac4d04.zip
DAG: Add calling convention argument to calling convention funcs
This seems like a pretty glaring omission, and AMDGPU wants to treat kernels differently from other calling conventions. llvm-svn: 338194
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFastISel.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFastISel.cpp b/llvm/lib/Target/PowerPC/PPCFastISel.cpp
index b00655b5022..f212894035d 100644
--- a/llvm/lib/Target/PowerPC/PPCFastISel.cpp
+++ b/llvm/lib/Target/PowerPC/PPCFastISel.cpp
@@ -1697,7 +1697,7 @@ bool PPCFastISel::SelectRet(const Instruction *I) {
if (Ret->getNumOperands() > 0) {
SmallVector<ISD::OutputArg, 4> Outs;
- GetReturnInfo(F.getReturnType(), F.getAttributes(), Outs, TLI, DL);
+ GetReturnInfo(CC, F.getReturnType(), F.getAttributes(), Outs, TLI, DL);
// Analyze operands of the call, assigning locations to each operand.
SmallVector<CCValAssign, 16> ValLocs;
OpenPOWER on IntegriCloud