summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-11 16:48:40 -0700
committerGitHub <noreply@github.com>2019-07-11 16:48:40 -0700
commit39b9e38f8b76f64afdd8c146357d35699fafc347 (patch)
tree8e142a6dd06b12548102ab9d168fee28c78594d9 /test/emcc_hello_world.fromasm.imprecise
parent6d47b7bf14da72489bac4f4637e797b854f317c8 (diff)
downloadbinaryen-39b9e38f8b76f64afdd8c146357d35699fafc347.tar.gz
binaryen-39b9e38f8b76f64afdd8c146357d35699fafc347.tar.bz2
binaryen-39b9e38f8b76f64afdd8c146357d35699fafc347.zip
Optimize select fallthrough values (#2220)
This became noticeable after #2216 which led to some eqz eqz pairs in the test suite.
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 8bb8c257b..b3e2c99c7 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -10225,13 +10225,9 @@
(block
(br_if $label$break$L279
(select
- (i32.eqz
- (i32.eqz
- (local.tee $3
- (i32.load
- (i32.const 616)
- )
- )
+ (local.tee $3
+ (i32.load
+ (i32.const 616)
)
)
(i32.const 0)