diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-06-11 19:21:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-11 19:21:48 -0700 |
commit | 24fa19071d309c59eee5c2bd966139eaab45b5ba (patch) | |
tree | 97ce18d123b666e4650728d1538cb990c3e877a3 /test/memorygrowth.fromasm.imprecise | |
parent | 996262dcdb88388717aab72bd8f37841aaabb24c (diff) | |
parent | 9a4007e0ba7a77e1eed742278cd24a3914daae30 (diff) | |
download | binaryen-24fa19071d309c59eee5c2bd966139eaab45b5ba.tar.gz binaryen-24fa19071d309c59eee5c2bd966139eaab45b5ba.tar.bz2 binaryen-24fa19071d309c59eee5c2bd966139eaab45b5ba.zip |
Merge pull request #583 from WebAssembly/br-more
Fix and improve br optimizations
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r-- | test/memorygrowth.fromasm.imprecise | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 07909b855..3d3f9468b 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -4750,14 +4750,12 @@ ) ) (block - (if + (br_if $do-once$67 + (i32.const 31) (i32.gt_u (get_local $0) (i32.const 16777215) ) - (br $do-once$67 - (i32.const 31) - ) ) (i32.or (i32.and @@ -8245,11 +8243,7 @@ ) ) (set_local $16 - (if - (i32.eq - (get_local $18) - (i32.const 2) - ) + (select (i32.const 0) (i32.sub (get_local $2) @@ -8257,6 +8251,10 @@ (get_local $17) ) ) + (i32.eq + (get_local $18) + (i32.const 2) + ) ) ) ) |