diff options
Diffstat (limited to 'test/passes/remove-unused-brs.txt')
-rw-r--r-- | test/passes/remove-unused-brs.txt | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt index 607b8ecb4..529fa6152 100644 --- a/test/passes/remove-unused-brs.txt +++ b/test/passes/remove-unused-brs.txt @@ -10,11 +10,11 @@ (type $8 (func (result f32))) (type $9 (func (param i32) (result f32))) (memory $0 256 256) - (func $b0-yes (type $0) (param $i1 i32) + (func $b0-yes (; 0 ;) (type $0) (param $i1 i32) (block $topmost ) ) - (func $b1 (type $0) (param $i1 i32) + (func $b1 (; 1 ;) (type $0) (param $i1 i32) (block $topmost (block $block (drop @@ -23,19 +23,19 @@ ) ) ) - (func $b2 (type $0) (param $i1 i32) + (func $b2 (; 2 ;) (type $0) (param $i1 i32) (block $topmost (block $inner ) ) ) - (func $b3-yes (type $0) (param $i1 i32) + (func $b3-yes (; 3 ;) (type $0) (param $i1 i32) (block $topmost (block $inner ) ) ) - (func $b4 (type $0) (param $i1 i32) + (func $b4 (; 4 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (block $block @@ -46,7 +46,7 @@ ) ) ) - (func $b5 (type $0) (param $i1 i32) + (func $b5 (; 5 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (block $block @@ -57,14 +57,14 @@ ) ) ) - (func $b6 (type $0) (param $i1 i32) + (func $b6 (; 6 ;) (type $0) (param $i1 i32) (block $topmost (br_if $topmost (i32.const 1) ) ) ) - (func $b7 (type $0) (param $i1 i32) + (func $b7 (; 7 ;) (type $0) (param $i1 i32) (block $topmost (block $block (drop @@ -76,7 +76,7 @@ ) ) ) - (func $b8 (type $0) (param $i1 i32) + (func $b8 (; 8 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (br_if $topmost @@ -85,7 +85,7 @@ ) ) ) - (func $b9 (type $0) (param $i1 i32) + (func $b9 (; 9 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (br_if $topmost @@ -94,7 +94,7 @@ ) ) ) - (func $b10 (type $0) (param $i1 i32) + (func $b10 (; 10 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (block $block @@ -108,7 +108,7 @@ ) ) ) - (func $b11 (type $0) (param $i1 i32) + (func $b11 (; 11 ;) (type $0) (param $i1 i32) (block $topmost (block $inner (block $block @@ -122,7 +122,7 @@ ) ) ) - (func $b12-yes (type $1) + (func $b12-yes (; 12 ;) (type $1) (block $topmost (if (i32.const 1) @@ -149,7 +149,7 @@ ) ) ) - (func $b13 (type $2) (result i32) + (func $b13 (; 13 ;) (type $2) (result i32) (block $topmost (result i32) (if (i32.const 1) @@ -176,7 +176,7 @@ (i32.const 3) ) ) - (func $b14 (type $2) (result i32) + (func $b14 (; 14 ;) (type $2) (result i32) (block $topmost (result i32) (if (result i32) (i32.const 1) @@ -189,14 +189,14 @@ ) ) ) - (func $b15 (type $1) + (func $b15 (; 15 ;) (type $1) (block $topmost (br_if $topmost (i32.const 17) ) ) ) - (func $b15b (type $1) + (func $b15b (; 16 ;) (type $1) (block $topmost (if (i32.const 18) @@ -208,7 +208,7 @@ ) ) ) - (func $b16 (type $1) + (func $b16 (; 17 ;) (type $1) (block $a (block $b (block $c @@ -228,7 +228,7 @@ ) ) ) - (func $b17 (type $1) + (func $b17 (; 18 ;) (type $1) (block $a (if (i32.const 0) @@ -270,16 +270,16 @@ ) ) ) - (func $ret-1 (type $1) + (func $ret-1 (; 19 ;) (type $1) (nop) ) - (func $ret-2 (type $1) + (func $ret-2 (; 20 ;) (type $1) (block $block0 (block $block1 ) ) ) - (func $ret-3 (type $1) + (func $ret-3 (; 21 ;) (type $1) (block $block0 (if (i32.const 0) @@ -289,14 +289,14 @@ ) ) ) - (func $ret-value (type $2) (result i32) + (func $ret-value (; 22 ;) (type $2) (result i32) (block $block0 (result i32) (block $block1 (result i32) (i32.const 1) ) ) ) - (func $no-select-but-the-last (type $1) + (func $no-select-but-the-last (; 23 ;) (type $1) (block $a (if (i32.const 0) @@ -370,7 +370,7 @@ ) ) ) - (func $side-effects-and-order (type $2) (result i32) + (func $side-effects-and-order (; 24 ;) (type $2) (result i32) (local $x i32) (block $do-once$0 (if @@ -428,7 +428,7 @@ (i32.const 1) ) ) - (func $loops (type $1) + (func $loops (; 25 ;) (type $1) (loop $in (block $out (br_if $in @@ -710,7 +710,7 @@ ) ) ) - (func $br_if_in_block (type $2) (result i32) + (func $br_if_in_block (; 26 ;) (type $2) (result i32) (block $outval (result i32) (block $in (br_if $in @@ -746,7 +746,7 @@ ) ) ) - (func $threading (type $1) + (func $threading (; 27 ;) (type $1) (drop (block $value-out (result i32) (block $value-in (result i32) @@ -780,7 +780,7 @@ ) ) ) - (func $if-to-br_if-conflict (type $3) (param $x i32) (param $y i32) (result i32) + (func $if-to-br_if-conflict (; 28 ;) (type $3) (param $x i32) (param $y i32) (result i32) (block $leave (set_local $y (block $out (result i32) @@ -807,7 +807,7 @@ (get_local $y) ) ) - (func $if-to-br_if-conflict2 (type $3) (param $x i32) (param $y i32) (result i32) + (func $if-to-br_if-conflict2 (; 29 ;) (type $3) (param $x i32) (param $y i32) (result i32) (block $leave (set_local $y (block $out (result i32) @@ -834,7 +834,7 @@ (get_local $y) ) ) - (func $if-to-br_if-value-sideeffect (type $3) (param $x i32) (param $y i32) (result i32) + (func $if-to-br_if-value-sideeffect (; 30 ;) (type $3) (param $x i32) (param $y i32) (result i32) (block $leave (set_local $y (block $out (result i32) @@ -862,7 +862,7 @@ (get_local $y) ) ) - (func $fuzz (type $4) (param $j i32) (param $g i32) + (func $fuzz (; 31 ;) (type $4) (param $j i32) (param $g i32) (block $label$break$c (loop $label$continue$d (block $label$break$d @@ -892,7 +892,7 @@ ) ) ) - (func $iffify (type $1) + (func $iffify (; 32 ;) (type $1) (if (i32.eqz (i32.const 0) @@ -947,7 +947,7 @@ ) ) ) - (func $loop-if (type $2) (result i32) + (func $loop-if (; 33 ;) (type $2) (result i32) (block $outer (result i32) (loop $typed (result i32) (if (result i32) @@ -963,7 +963,7 @@ ) ) ) - (func $block-break (type $0) (param $0 i32) + (func $block-break (; 34 ;) (type $0) (param $0 i32) (block $block$7$break (block $shape$6$continue (call $block-break @@ -972,7 +972,7 @@ ) ) ) - (func $loop-break (type $0) (param $0 i32) + (func $loop-break (; 35 ;) (type $0) (param $0 i32) (block $block$7$break (loop $shape$6$continue (call $loop-break @@ -985,7 +985,7 @@ ) ) ) - (func $untaken-brs-might-prevent-block-removal (type $5) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 i32) (param $4 i32) (param $5 f64) (param $6 f32) (result i32) + (func $untaken-brs-might-prevent-block-removal (; 36 ;) (type $5) (param $0 f32) (param $1 i32) (param $2 f32) (param $3 i32) (param $4 i32) (param $5 f64) (param $6 f32) (result i32) (block $label$0 (result i32) (block $label$1 (br_if $label$1 @@ -1020,7 +1020,7 @@ (i32.const 1935947830) ) ) - (func $unexitable-loops-result (type $6) (param $0 i32) (result i64) + (func $unexitable-loops-result (; 37 ;) (type $6) (param $0 i32) (result i64) (loop $label$0 (loop $label$1 (br_if $label$0 @@ -1039,7 +1039,7 @@ ) ) ) - (func $untaken-br-with-concrete-last-element (type $1) + (func $untaken-br-with-concrete-last-element (; 38 ;) (type $1) (block $label$8 (block $label$11 (block $label$14 @@ -1050,7 +1050,7 @@ ) ) ) - (func $untaken-br-with-concrete-last-element2 (type $2) (result i32) + (func $untaken-br-with-concrete-last-element2 (; 39 ;) (type $2) (result i32) (block $label$8 (result i32) (block $label$11 (result i32) (block $label$14 (result i32) @@ -1064,7 +1064,7 @@ ) ) ) - (func $untaken-br_if-then-if (type $1) + (func $untaken-br_if-then-if (; 40 ;) (type $1) (block $label$0 (br_if $label$0 (unreachable) @@ -1075,7 +1075,7 @@ ) ) ) - (func $unreachable-if-that-could-be-a-br_if (type $7) (result i64) + (func $unreachable-if-that-could-be-a-br_if (; 41 ;) (type $7) (result i64) (loop $label$3 (result i64) (drop (if (result f64) @@ -1087,7 +1087,7 @@ (i64.const 1) ) ) - (func $nop-br-might-update-type (type $1) + (func $nop-br-might-update-type (; 42 ;) (type $1) (block $label$39 (drop (if (result i32) @@ -1102,7 +1102,7 @@ ) ) ) - (func $no-flow-through-if-without-else (type $8) (result f32) + (func $no-flow-through-if-without-else (; 43 ;) (type $8) (result f32) (local $0 i32) (local $2 f32) (block $label$0 (result f32) @@ -1123,7 +1123,7 @@ ) ) ) - (func $unreachable-return-loop-value (type $7) (result i64) + (func $unreachable-return-loop-value (; 44 ;) (type $7) (result i64) (loop $loop (if (i32.const 1) @@ -1137,7 +1137,7 @@ (br $loop) ) ) - (func $obviously-flows-out-maybe (type $9) (param $var$0 i32) (result f32) + (func $obviously-flows-out-maybe (; 45 ;) (type $9) (param $var$0 i32) (result f32) (block $label$1 (result f32) (br $label$1 (f32.const 1) |