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