GlobalISel: Handle arguments partially passed on the stack
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 7 Feb 2021 20:17:04 +0000 (15:17 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 15 Feb 2021 22:06:14 +0000 (17:06 -0500)
commit392e0fcfd114374115c11c7f5399c20820fbb10b
treeddf9613627ab9731e2c9756a31e66f4fec55b73c
parent1b3d8ddeb9653caef0d208f85564d3f4e6c359f4
GlobalISel: Handle arguments partially passed on the stack

The API is a bit awkward since you need to index into an array in the
passed struct. I guess an alternative would be to pass all of the
individual fields.
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-arguments.ll [new file with mode: 0644]