forked from OSchip/llvm-project
[AMDGPU] Remove exit-on-error flag from test (PR27762)
Similar to r269948, but for argument lowering. Fixes PR27762 Differential Revision: http://reviews.llvm.org/D20430 llvm-svn: 270856
This commit is contained in:
parent
20a8d8e97e
commit
81bc3170e8
|
@ -581,7 +581,7 @@ SDValue SITargetLowering::LowerFormalArguments(
|
|||
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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue