diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-05 19:29:26 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-11-06 10:13:12 -0800 |
commit | 57d0a549d715a25b471c8913c3013fc407eceea6 (patch) | |
tree | 4984374220181ca61044bd7d8849aaec2084c1ec /test/unit.fromasm.imprecise | |
parent | 5447c53b612c8d0f0d0902efe5053f2f81bd1595 (diff) | |
download | binaryen-57d0a549d715a25b471c8913c3013fc407eceea6.tar.gz binaryen-57d0a549d715a25b471c8913c3013fc407eceea6.tar.bz2 binaryen-57d0a549d715a25b471c8913c3013fc407eceea6.zip |
improve local simplication: simplify without if/block structure values before coalesce, so that coalesce can remove all copies, then do another pass of full simplification after it
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index bb1147d16..98a797f65 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -32,7 +32,7 @@ (export "pick" (func $big_negative)) (export "doubleCompares" (func $doubleCompares)) (export "intOps" (func $intOps)) - (export "conversions" (func $conversions)) + (export "conversions" (func $big_negative)) (export "switcher" (func $switcher)) (export "frem" (func $frem)) (export "big_uint_div_u" (func $big_uint_div_u)) @@ -140,15 +140,6 @@ (get_local $0) ) ) - (func $conversions - (local $0 f32) - (local $1 i32) - (set_local $1 - (i32.trunc_s/f32 - (get_local $0) - ) - ) - ) (func $switcher (param $0 i32) (result i32) (block $switch (block $switch-case0 |