blob: 78e2ff5ca29e75995ff32d0c7af83248892543b4 [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvParserCFGTest_ClassifyCFGEdges_LoopContinue_FromNestedIf.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 1000
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11OpName %var "var"
12%void = OpTypeVoid
13%3 = OpTypeFunction %void
14%bool = OpTypeBool
15%5 = OpConstantNull %bool
16%true = OpConstantTrue %bool
17%false = OpConstantFalse %bool
18%uint = OpTypeInt 32 0
19%int = OpTypeInt 32 1
20%uint_42 = OpConstant %uint 42
21%int_42 = OpConstant %int 42
22%13 = OpTypeFunction %uint
23%uint_0 = OpConstant %uint 0
24%uint_1 = OpConstant %uint 1
25%uint_2 = OpConstant %uint 2
26%uint_3 = OpConstant %uint 3
27%uint_4 = OpConstant %uint 4
28%uint_5 = OpConstant %uint 5
29%uint_6 = OpConstant %uint 6
30%uint_7 = OpConstant %uint 7
31%uint_8 = OpConstant %uint 8
32%uint_10 = OpConstant %uint 10
33%uint_20 = OpConstant %uint 20
34%uint_30 = OpConstant %uint 30
35%uint_40 = OpConstant %uint 40
36%uint_50 = OpConstant %uint 50
37%uint_90 = OpConstant %uint 90
38%uint_99 = OpConstant %uint 99
39%_ptr_Private_uint = OpTypePointer Private %uint
40%var = OpVariable %_ptr_Private_uint Private
41%uint_999 = OpConstant %uint 999
42%100 = OpFunction %void None %3
43%10 = OpLabel
44OpBranch %20
45%20 = OpLabel
46OpLoopMerge %99 %80 None
47OpBranchConditional %5 %30 %99
48%30 = OpLabel
49OpSelectionMerge %79 None
50OpBranchConditional %true %40 %79
51%40 = OpLabel
52OpBranch %80
53%79 = OpLabel
54OpBranch %80
55%80 = OpLabel
56OpBranch %20
57%99 = OpLabel
58OpReturn
59OpFunctionEnd
60