I'm not sure what complications these present, but the current
argument lowering is pretty much directly copied from the DAG
lowering, so I assume these work as they should.
No tests because I'm lazy and things are getting pretty close to the
point where the existing calling-conventions.ll can be shared with
SelectionDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367870
91177308-0d34-0410-b5e6-
96231b3b80d8
if (CC == CallingConv::AMDGPU_KERNEL)
return lowerFormalArgumentsKernel(MIRBuilder, F, VRegs);
- // AMDGPU_GS and AMDGP_HS are not supported yet.
- if (CC == CallingConv::AMDGPU_GS || CC == CallingConv::AMDGPU_HS)
- return false;
-
const bool IsShader = AMDGPU::isShader(CC);
const bool IsEntryFunc = AMDGPU::isEntryFunctionCC(CC);