diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-02-11 13:13:24 -0800 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2017-02-16 22:45:36 -0800 |
commit | 51d57932a34dd265a8c3c35a6773387e5dd7bc9e (patch) | |
tree | 0ddc232fa0e2211af0e177a508f76b86fbf0714b /test/memorygrowth.fromasm.imprecise | |
parent | 41eee37bc153a68b0f0c46162e21f825d1784499 (diff) | |
download | binaryen-51d57932a34dd265a8c3c35a6773387e5dd7bc9e.tar.gz binaryen-51d57932a34dd265a8c3c35a6773387e5dd7bc9e.tar.bz2 binaryen-51d57932a34dd265a8c3c35a6773387e5dd7bc9e.zip |
optimize sign-extends to eqz
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r-- | test/memorygrowth.fromasm.imprecise | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 2a32f7528..914f119d1 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -8473,15 +8473,9 @@ ) ) (if - (i32.shr_s - (i32.shl - (i32.and - (get_local $1) - (i32.const 255) - ) - (i32.const 24) - ) - (i32.const 24) + (i32.and + (get_local $1) + (i32.const 255) ) (block (set_local $1 |