21 lines · plain
1; RUN: not opt -passes='print<dxil-root-signature>' %s -S -o - 2>&1 | FileCheck %s2 3; CHECK: error: Invalid value for RootFlags: 21474877444; CHECK-NOT: Root Signature Definitions5 6target triple = "dxil-unknown-shadermodel6.0-compute"7 8 9define void @main() #0 {10entry:11 ret void12}13 14attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }15 16 17!dx.rootsignatures = !{!2} ; list of function/root signature pairs18!2 = !{ ptr @main, !3, i32 2 } ; function, root signature19!3 = !{ !4 } ; list of root signature elements20!4 = !{ !"RootFlags", i32 2147487744 } ; 1 = allow_input_assembler_input_layout21