AMDGPU/GlobalISel: Fix fixed ABI special VGPR function arguments
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 24 Jun 2020 01:06:11 +0000 (21:06 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 24 Jun 2020 01:21:35 +0000 (21:21 -0400)
commita162048a47b7e1c7e83fca82f09876944307dd2f
tree9ec81b1ea5b2afd5deabb79eac9a5693b4eb8ad2
parent5804a8b1228ba890d48f4085a3a192ef83c73e00
AMDGPU/GlobalISel: Fix fixed ABI special VGPR function arguments

I forgot to copy the new fixed function ABI into GlobalISel, so this
was mismatched with the DAG compiled calling function. This was
allocating part of the argument list to v31, which was supposed to be
reserved for the workitem IDs.
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-fixed-function-abi-vgpr-args.ll [new file with mode: 0644]