[PATCH] D46149: AMDGPU/GlobalISel: Don't try to lower hull shaders

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 26 16:06:50 PDT 2018


tstellar created this revision.
tstellar added reviewers: arsenm, nhaehnle.
Herald added subscribers: t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, wdng, kzhuravl.

The AMDGPU_HS calling convention is not supported yet.


Repository:
  rL LLVM

https://reviews.llvm.org/D46149

Files:
  lib/Target/AMDGPU/AMDGPUCallLowering.cpp


Index: lib/Target/AMDGPU/AMDGPUCallLowering.cpp
===================================================================
--- lib/Target/AMDGPU/AMDGPUCallLowering.cpp
+++ 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.144232.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180426/f63d0f0a/attachment.bin>


More information about the llvm-commits mailing list