summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai (kripken) <alonzakai@gmail.com>2017-02-13 15:17:57 -0800
committerAlon Zakai (kripken) <alonzakai@gmail.com>2017-02-16 22:45:39 -0800
commiteec567640d154147fb88754fd13aada738a63eef (patch)
tree38c4479faf66e20a953f833d298855315d1b8627 /test/emcc_hello_world.fromasm.imprecise
parent04d38f6f881b16a014c47e897a4590d76ec548ff (diff)
downloadbinaryen-eec567640d154147fb88754fd13aada738a63eef.tar.gz
binaryen-eec567640d154147fb88754fd13aada738a63eef.tar.bz2
binaryen-eec567640d154147fb88754fd13aada738a63eef.zip
use local info about maxBits and sign-extendedness in OptimizeInstructions
fix the maxBits of a signed load, which this uncovered - all the bits may be used in such a case
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 5ed229e6f..22878e91f 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -5444,10 +5444,7 @@
(tee_local $5
(i32.add
(i32.xor
- (i32.and
- (get_local $32)
- (i32.const 1)
- )
+ (get_local $32)
(i32.const 1)
)
(get_local $17)