diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-02-13 15:17:57 -0800 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-02-16 22:45:39 -0800 |
commit | eec567640d154147fb88754fd13aada738a63eef (patch) | |
tree | 38c4479faf66e20a953f833d298855315d1b8627 /test/emcc_hello_world.fromasm.imprecise | |
parent | 04d38f6f881b16a014c47e897a4590d76ec548ff (diff) | |
download | binaryen-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.imprecise | 5 |
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) |