summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-10-27 09:19:16 -0700
committerGitHub <noreply@github.com>2016-10-27 09:19:16 -0700
commitafad1ee305719cf2a34b6dcccff72b07e1a5e34d (patch)
treee9900a4b3e26b83d6747523f23bb28180a8a6c6d /test/emcc_hello_world.fromasm.imprecise
parent7047ed25b3ca34aeddb67d0082a998fec0841372 (diff)
downloadbinaryen-afad1ee305719cf2a34b6dcccff72b07e1a5e34d.tar.gz
binaryen-afad1ee305719cf2a34b6dcccff72b07e1a5e34d.tar.bz2
binaryen-afad1ee305719cf2a34b6dcccff72b07e1a5e34d.zip
optimize ne of 0 in a boolean context (#808)
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index d34035bf2..b3ce6e84e 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -2139,10 +2139,7 @@
(select
(get_local $2)
(i32.const 0)
- (i32.ne
- (get_local $0)
- (i32.const 0)
- )
+ (get_local $0)
)
)
(func $___syscall_ret (param $0 i32) (result i32)
@@ -4052,10 +4049,7 @@
)
)
(i32.const 4101)
- (i32.ne
- (get_local $9)
- (i32.const 0)
- )
+ (get_local $9)
)
)
(br $jumpthreading$inner$4)