summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai (kripken) <alonzakai@gmail.com>2017-02-13 14:15:48 -0800
committerAlon Zakai (kripken) <alonzakai@gmail.com>2017-02-16 22:45:39 -0800
commit04d38f6f881b16a014c47e897a4590d76ec548ff (patch)
treeb83569be07ccb148331da81591a1f5fde7ecbfaa /test/emcc_hello_world.fromasm.imprecise
parentf05efb982f8472c1dd6beb0e8dbc8afc73e82fcb (diff)
downloadbinaryen-04d38f6f881b16a014c47e897a4590d76ec548ff.tar.gz
binaryen-04d38f6f881b16a014c47e897a4590d76ec548ff.tar.bz2
binaryen-04d38f6f881b16a014c47e897a4590d76ec548ff.zip
remove unneeded masks using getMaxBits
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise20
1 files changed, 7 insertions, 13 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index ba1a50ca7..5ed229e6f 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -1938,14 +1938,11 @@
(i32.load8_u
(get_local $2)
)
- (i32.and
- (tee_local $1
- (i32.and
- (get_local $1)
- (i32.const 255)
- )
+ (tee_local $1
+ (i32.and
+ (get_local $1)
+ (i32.const 255)
)
- (i32.const 255)
)
)
(block
@@ -9330,13 +9327,10 @@
(i32.shl
(get_local $8)
(i32.xor
- (i32.and
- (tee_local $6
- (i32.eqz
- (get_local $9)
- )
+ (tee_local $6
+ (i32.eqz
+ (get_local $9)
)
- (i32.const 1)
)
(i32.const 1)
)