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.isg1 = private constant [8 x i8] c"\00\00\00\00\08\00\00\00", section "ISG1", align 4
6 ; CHECK: @dx.osg1 = private constant [8 x i8] c"\00\00\00\00\08\00\00\00", section "OSG1", align 4
8 define void @main() #0 {
13 attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
21 ; DXC-NEXT: Signature:
22 ; DXC-NEXT: Parameters: []
25 ; DXC-NEXT: Signature:
26 ; DXC-NEXT: Parameters: []