[OpenACC] Create AST nodes for 'data' constructs
[llvm-project.git] / llvm / test / CodeGen / DirectX / ContainerData / PipelineStateValidation.ll
blob9e1720b0b1cac60a7e42f38462bff599d3ba72dc
1 ; RUN: opt %s -dxil-embed -dxil-globals -S -o - | FileCheck %s
2 ; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC
3 target triple = "dxil-unknown-shadermodel6.0-compute"
5 ; CHECK: @dx.psv0 = private constant  [76 x i8] c"{{.*}}", section "PSV0", align 4
7 define void @main() #0 {
8 entry:
9   ret void
12 attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
14 !dx.valver = !{!0}
16 !0 = !{i32 1, i32 7}
18 ; DXC: - Name:            PSV0
19 ; DXC:     Size:            76
20 ; DXC:     PSVInfo:
21 ; DXC:       Version:         3
22 ; DXC:       ShaderStage:     5
23 ; DXC:       MinimumWaveLaneCount: 0
24 ; DXC:       MaximumWaveLaneCount: 4294967295
25 ; DXC:       UsesViewID:      0
26 ; DXC:       SigInputVectors: 0
27 ; DXC:       SigOutputVectors: [ 0, 0, 0, 0 ]
28 ; DXC:       NumThreadsX:     1
29 ; DXC:       NumThreadsY:     1
30 ; DXC:       NumThreadsZ:     1
31 ; DXC:       EntryName:       main
32 ; DXC:       ResourceStride:  24
33 ; DXC:       Resources:       []
34 ; DXC:       SigInputElements: []
35 ; DXC:       SigOutputElements: []
36 ; DXC:       SigPatchOrPrimElements: []
37 ; DXC:       InputOutputMap:
38 ; DXC:         - [  ]
39 ; DXC:         - [  ]
40 ; DXC:         - [  ]
41 ; DXC:         - [  ]