xref: /llvm-project/llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs-val-ver-0.0.ll (revision 8aa8c0590c09a52737787ed7c35befa3fbede231)
1; RUN: opt -S -dxil-prepare  %s | FileCheck %s
2
3target triple = "dxil-pc-shadermodel6.6-compute"
4
5define void @entry() #0 {
6entry:
7  ret void
8}
9
10; Make sure experimental attribute is left when validation version is 0.0.
11; CHECK:attributes #0 = { noinline nounwind "exp-shader"="cs" }
12attributes #0 = { noinline nounwind "exp-shader"="cs" "hlsl.numthreads"="1,2,1" "hlsl.shader"="compute" }
13
14!dx.valver = !{!0}
15
16!0 = !{i32 0, i32 0}
17