1 ; RUN: opt -S -dxil-metadata-emit %s | FileCheck %s
2 target triple = "dxil-pc-shadermodel5.0-pixel"
4 ; CHECK: !dx.shaderModel = !{![[SM:[0-9]+]]}
5 ; CHECK: ![[SM]] = !{!"ps", i32 5, i32 0}
7 define void @entry() #0 {
12 attributes #0 = { noinline nounwind "hlsl.shader"="pixel" }