1 ; RUN: not llc -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
3 ; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA
4 define amdgpu_ps void @pixel_shader() #0 {
8 ; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA
9 define amdgpu_vs void @vertex_shader() #0 {
13 ; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA
14 define amdgpu_gs void @geometry_shader() #0 {
18 !llvm.module.flags = !{!0}
19 !0 = !{i32 1, !"amdhsa_code_object_version", i32 400}