1 ; RUN: llc --filetype=obj %s -o - 2>&1 | dxil-dis -o - | FileCheck %s
2 target datalayout = "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-f32:32-f64:64-n8:16:32:64"
3 target triple = "dxil-unknown-shadermodel6.7-library"
5 %"$Globals" = type { float }
7 @CBV = external constant %"$Globals"
16 !dx.shaderModel = !{!3}
17 !dx.entryPoints = !{!8}
19 !0 = !{!"clang version 15.0.0"}
22 !3 = !{!"ps", i32 6, i32 0}
23 !4 = !{null, null, !5, null}
25 ; CHECK-DAG:!{{[0-9]+}} = !{i32 0, %"$Globals"* @CBV
26 !6 = !{i32 0, ptr @CBV, !"", i32 0, i32 0, i32 1, i32 4, null}
27 !7 = !{[2 x i32] [i32 0, i32 1]}
28 ; CHECK-DAG:!{{[0-9]+}} = !{void ()* @main
29 !8 = !{ptr @main, !"main", null, !4, null}