source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 442 bytes
Line 
1; RUN: not llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s 2>&1 | FileCheck %s
2
3; CHECK: error: unsupported non-compute shaders with HSA in pixel_shader
4define void @pixel_shader() #0 {
5  ret void
6}
7
8define void @vertex_shader() #1 {
9  ret void
10}
11
12define void @geometry_shader() #2 {
13  ret void
14}
15
16attributes #0 = { nounwind "ShaderType"="0" }
17attributes #1 = { nounwind "ShaderType"="1" }
18attributes #2 = { nounwind "ShaderType"="2" }
Note: See TracBrowser for help on using the repository browser.