diff options
Diffstat (limited to 'test/passes/precompute.txt')
-rw-r--r-- | test/passes/precompute.txt | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/test/passes/precompute.txt b/test/passes/precompute.txt index a3e8623f5..9c40148b6 100644 --- a/test/passes/precompute.txt +++ b/test/passes/precompute.txt @@ -2,14 +2,24 @@ (memory 0) (type $0 (func (param i32))) (func $x (type $0) (param $x i32) - (i32.const 3) - (i32.add - (i32.const 1) - (get_local $x) + (drop + (i32.const 3) + ) + (drop + (i32.add + (i32.const 1) + (get_local $x) + ) + ) + (drop + (i32.const 6) + ) + (drop + (i32.const -1) + ) + (drop + (i32.const 3) ) - (i32.const 6) - (i32.const -1) - (i32.const 3) (loop $loop-out0 $in (br $in) ) |