[AMDGPU] Ignore special ABI registers for graphics
authorNeubauer, Sebastian <Sebastian.Neubauer@amd.com>
Mon, 13 Dec 2021 14:44:56 +0000 (15:44 +0100)
committerNeubauer, Sebastian <Sebastian.Neubauer@amd.com>
Mon, 13 Dec 2021 15:44:37 +0000 (16:44 +0100)
commit26924b57e874c9bb2d7d218acb85a66c58443260
tree62febc622a5bb81408618737ba6c9730b851ce2a
parent5e55a20119a31c19dd90a2e03329d21c291ea362
[AMDGPU] Ignore special ABI registers for graphics

Fixed ABI arguments are compute specific and should not be added to
graphics shaders or functions, so do not try to add them.

Differential Revision: https://reviews.llvm.org/D115344
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll