1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

AArch64CallLowering::lowerCall(): fix build by not passing InArgs into lowerTailCall()

llvm-svn: 372172
This commit is contained in:
Roman Lebedev 2019-09-17 19:37:07 +00:00
parent 07cce5d638
commit 0395b18dd2

View File

@ -786,7 +786,7 @@ bool AArch64CallLowering::lowerCall(MachineIRBuilder &MIRBuilder,
// If we can lower as a tail call, do that instead. // If we can lower as a tail call, do that instead.
if (Info.IsTailCall && if (Info.IsTailCall &&
isEligibleForTailCallOptimization(MIRBuilder, Info, InArgs, OutArgs)) isEligibleForTailCallOptimization(MIRBuilder, Info, InArgs, OutArgs))
return lowerTailCall(MIRBuilder, Info, OutArgs, InArgs); return lowerTailCall(MIRBuilder, Info, OutArgs);
// Find out which ABI gets to decide where things go. // Find out which ABI gets to decide where things go.
CCAssignFn *AssignFnFixed = CCAssignFn *AssignFnFixed =