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 {
12 attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
23 ; DXC: MinimumWaveLaneCount: 0
24 ; DXC: MaximumWaveLaneCount: 4294967295
26 ; DXC: SigInputVectors: 0
27 ; DXC: SigOutputVectors: [ 0, 0, 0, 0 ]
31 ; DXC: EntryName: main
32 ; DXC: ResourceStride: 24
34 ; DXC: SigInputElements: []
35 ; DXC: SigOutputElements: []
36 ; DXC: SigPatchOrPrimElements: []
37 ; DXC: InputOutputMap: