comparison test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
96:6418606d0ead 100:7d135dc70f03
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
4 define void @pixel_shader() #0 {
5 ret void
6 }
7
8 define void @vertex_shader() #1 {
9 ret void
10 }
11
12 define void @geometry_shader() #2 {
13 ret void
14 }
15
16 attributes #0 = { nounwind "ShaderType"="0" }
17 attributes #1 = { nounwind "ShaderType"="1" }
18 attributes #2 = { nounwind "ShaderType"="2" }