1; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s 2 3; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA 4define amdgpu_ps void @pixel_shader() #0 { 5 ret void 6} 7 8; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA 9define amdgpu_vs void @vertex_shader() #0 { 10 ret void 11} 12 13; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA 14define amdgpu_gs void @geometry_shader() #0 { 15 ret void 16} 17