diff options
| author | Tim Northover <tnorthover@apple.com> | 2019-08-09 08:26:38 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2019-08-09 08:26:38 +0000 |
| commit | e1a5f668b3b517cea34b389c505264510b45ecf9 (patch) | |
| tree | 4d51ea98647c7585f3800845678405a0e5d087e0 /llvm/lib/Target/ARM/ARMCallLowering.h | |
| parent | 474d70b2204ee082854049ad691ccf435863709a (diff) | |
| download | bcm5719-llvm-e1a5f668b3b517cea34b389c505264510b45ecf9.tar.gz bcm5719-llvm-e1a5f668b3b517cea34b389c505264510b45ecf9.zip | |
GlobalISel: pack various parameters for lowerCall into a struct.
I've now needed to add an extra parameter to this call twice recently. Not only
is the signature getting extremely unwieldy, but just updating all of the
callsites and implementations is a pain. Putting the parameters in a struct
sidesteps both issues.
llvm-svn: 368408
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCallLowering.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMCallLowering.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMCallLowering.h b/llvm/lib/Target/ARM/ARMCallLowering.h index c32af75c699..ddbc9feb90e 100644 --- a/llvm/lib/Target/ARM/ARMCallLowering.h +++ b/llvm/lib/Target/ARM/ARMCallLowering.h @@ -38,10 +38,8 @@ public: bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef<ArrayRef<Register>> VRegs) const override; - bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv, - const MachineOperand &Callee, const ArgInfo &OrigRet, - ArrayRef<ArgInfo> OrigArgs, - const MDNode *KnownCallees = nullptr) const override; + bool lowerCall(MachineIRBuilder &MIRBuilder, + CallLoweringInfo &Info) const override; private: bool lowerReturnVal(MachineIRBuilder &MIRBuilder, const Value *Val, |

