1 ; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
3 ; CHECK: error: unsupported non-compute shaders with HSA in pixel_shader
4 define void @pixel_shader() #0 {
8 define void @vertex_shader() #1 {
12 define void @geometry_shader() #2 {
16 attributes #0 = { nounwind "ShaderType"="0" }
17 attributes #1 = { nounwind "ShaderType"="1" }
18 attributes #2 = { nounwind "ShaderType"="2" }