diff options
Diffstat (limited to 'test/passes/simplify-locals-notee.txt')
-rw-r--r-- | test/passes/simplify-locals-notee.txt | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/test/passes/simplify-locals-notee.txt b/test/passes/simplify-locals-notee.txt index fc48429d7..36978eacf 100644 --- a/test/passes/simplify-locals-notee.txt +++ b/test/passes/simplify-locals-notee.txt @@ -1,66 +1,66 @@ (module - (type $0 (func)) - (memory $0 0) - (func $contrast (type $0) - (local $x i32) - (local $y i32) - (local $z i32) - (local $a i32) - (local $b i32) - (set_local $x - (i32.const 1) + (type $0 (func)) + (memory $0 0) + (func $contrast (type $0) + (local $x i32) + (local $y i32) + (local $z i32) + (local $a i32) + (local $b i32) + (set_local $x + (i32.const 1) + ) + (if + (get_local $x) + (nop) + ) + (if + (get_local $x) + (nop) + ) + (nop) + (drop + (if i32 + (i32.const 2) + (i32.const 3) + (i32.const 4) + ) + ) + (nop) + (drop + (block $block i32 + (i32.const 5) + ) + ) + (nop) + (drop + (if i32 + (i32.const 6) + (block i32 + (nop) + (i32.const 7) ) - (if - (get_local $x) - (nop) + (block i32 + (nop) + (i32.const 8) ) + ) + ) + (nop) + (drop + (block $val i32 (if - (get_local $x) + (i32.const 10) + (block $block4 (nop) - ) - (nop) - (drop - (if i32 - (i32.const 2) - (i32.const 3) - (i32.const 4) + (br $val + (i32.const 11) ) + ) ) (nop) - (drop - (block $block i32 - (i32.const 5) - ) - ) - (nop) - (drop - (if i32 - (i32.const 6) - (block i32 - (nop) - (i32.const 7) - ) - (block i32 - (nop) - (i32.const 8) - ) - ) - ) - (nop) - (drop - (block $val i32 - (if - (i32.const 10) - (block $block4 - (nop) - (br $val - (i32.const 11) - ) - ) - ) - (nop) - (i32.const 12) - ) - ) + (i32.const 12) + ) ) + ) ) |