]> granicus.if.org Git - llvm/commit
GlobalISel: pack various parameters for lowerCall into a struct.
authorTim Northover <tnorthover@apple.com>
Fri, 9 Aug 2019 08:26:38 +0000 (08:26 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 9 Aug 2019 08:26:38 +0000 (08:26 +0000)
commit3c03681847372776392d1b4cac9de02a50cb4143
tree55288965c882ef3debb96c76c68ab84b0a317900
parent041d8d71e8a016f1fa381aa4f9e1c400190400a1
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368408 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/CallLowering.h
lib/CodeGen/GlobalISel/CallLowering.cpp
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AArch64/AArch64CallLowering.cpp
lib/Target/AArch64/AArch64CallLowering.h
lib/Target/ARM/ARMCallLowering.cpp
lib/Target/ARM/ARMCallLowering.h
lib/Target/Mips/MipsCallLowering.cpp
lib/Target/Mips/MipsCallLowering.h
lib/Target/X86/X86CallLowering.cpp
lib/Target/X86/X86CallLowering.h