Debian Codegraph @

tests/snapshots/cli/folding/branch-hinting-simple.wast/0.print-folded

raw
1 (module
2 (type (;0;) (func (result i32)))
3 (func $main (;0;) (type 0) (result i32)
4 (local i32 i32 i32 i32)
5 (local.set 3
6 (local.tee 2
7 (i32.const 0)))
8 (loop ;; label = @1
9 (if ;; label = @2
10 (i32.eq
11 (local.get 2)
12 (i32.const 50000))
13 (@metadata.code.branch_hint "\00")
14 (then
15 (local.set 3
16 (i32.const 1))))
17 (br_if 0 (;@1;)
18 (i32.ne
19 (local.tee 2
20 (i32.add
21 (local.get 2)
22 (i32.const 1)))
23 (i32.const 100000))
24 (@metadata.code.branch_hint "\01")))
25 (local.get 3)
26 )
27 )