[PATCH] D20430: [AMDGPU] Remove exit-on-error flag from test (PR27762)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 08:31:20 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL270856: [AMDGPU] Remove exit-on-error flag from test (PR27762) (authored by rovka).

Changed prior to commit:
  http://reviews.llvm.org/D20430?vs=57780&id=58618#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20430

Files:
  llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/trunk/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll

Index: llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -581,7 +581,7 @@
     DiagnosticInfoUnsupported NoGraphicsHSA(
         *Fn, "unsupported non-compute shaders with HSA", DL.getDebugLoc());
     DAG.getContext()->diagnose(NoGraphicsHSA);
-    return SDValue();
+    return DAG.getEntryNode();
   }
 
   SmallVector<ISD::InputArg, 16> Splits;
Index: llvm/trunk/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
===================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
+++ llvm/trunk/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll
@@ -1,14 +1,16 @@
-; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa -exit-on-error < %s 2>&1 | FileCheck %s
+; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
 
 ; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA
 define amdgpu_ps void @pixel_shader() #0 {
   ret void
 }
 
+; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA
 define amdgpu_vs void @vertex_shader() #0 {
   ret void
 }
 
+; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA
 define amdgpu_gs void @geometry_shader() #0 {
   ret void
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20430.58618.patch
Type: text/x-patch
Size: 1409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/e73421b2/attachment.bin>


More information about the llvm-commits mailing list