[PATCH] D46149: AMDGPU/GlobalISel: Don't try to lower hull shaders
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 7 15:21:30 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331691: AMDGPU/GlobalISel: Don't try to lower hull shaders (authored by tstellar, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D46149
Files:
llvm/trunk/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
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<unsigned> 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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46149.145564.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180507/5344408e/attachment.bin>
More information about the llvm-commits
mailing list