Index: llvm/trunk/lib/Target/AMDGPU/AMDGPUCallLowering.cpp =================================================================== --- llvm/trunk/lib/Target/AMDGPU/AMDGPUCallLowering.cpp +++ llvm/trunk/lib/Target/AMDGPU/AMDGPUCallLowering.cpp @@ -88,8 +88,9 @@ bool AMDGPUCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef VRegs) const { - // AMDGPU_GS is not supported yet. - if (F.getCallingConv() == CallingConv::AMDGPU_GS) + // AMDGPU_GS and AMDGP_HS are not supported yet. + if (F.getCallingConv() == CallingConv::AMDGPU_GS || + F.getCallingConv() == CallingConv::AMDGPU_HS) return false; MachineFunction &MF = MIRBuilder.getMF();