AMDGPU/GlobalISel: Handle call return values
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 5 Jul 2020 20:15:36 +0000 (16:15 -0400)
committerMatt Arsenault <arsenm2@gmail.com>
Thu, 23 Jul 2020 18:29:35 +0000 (14:29 -0400)
commitd2b8fcff3446a9367472e338e44ecba9daf1e101
tree3a9a148ade12b1b41342b63f7b23551fc957e08c
parentaca58ef7840b2181bf80ffafe8a5187049ba7413
AMDGPU/GlobalISel: Handle call return values

The only case that I know doesn't work is the implicit sret case when
the return type doesn't fit in the return registers.
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll [new file with mode: 0644]