diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-10 16:47:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-10 16:47:18 -0700 |
commit | 8a25e5ccdb2d43d9966247c737f963d53c4edb73 (patch) | |
tree | 51c4adc9bbc2695cc9d563bc4ad68b4f825e5a9c /test/emcc_hello_world.fromasm.imprecise | |
parent | 3d6b218cc288bb1c9f234cb9a54796f512294107 (diff) | |
download | binaryen-8a25e5ccdb2d43d9966247c737f963d53c4edb73.tar.gz binaryen-8a25e5ccdb2d43d9966247c737f963d53c4edb73.tar.bz2 binaryen-8a25e5ccdb2d43d9966247c737f963d53c4edb73.zip |
run another optimize-expressions at the end of asm2wasm
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 249892261..f42a477ba 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -396,16 +396,14 @@ ) ) (br_if $while-in$1 - (i32.eqz - (i32.eq - (tee_local $2 - (i32.add - (get_local $2) - (i32.const 1) - ) + (i32.ne + (tee_local $2 + (i32.add + (get_local $2) + (i32.const 1) ) - (i32.const 87) ) + (i32.const 87) ) ) (block @@ -5944,14 +5942,12 @@ ) ) (br_if $while-in$95 - (i32.eqz - (i32.lt_u - (get_local $13) - (tee_local $8 - (i32.mul - (get_local $8) - (i32.const 10) - ) + (i32.ge_u + (get_local $13) + (tee_local $8 + (i32.mul + (get_local $8) + (i32.const 10) ) ) ) |