diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-04-30 11:19:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 11:19:10 -0700 |
commit | 032ddd6a88bf608953c76422c317eb5aa875985e (patch) | |
tree | a7613289bcc72230175610971c75d1ff8b266dbf /test/min.fromasm.imprecise | |
parent | 23f53674fc7aed90313cc70cbdde7dffa0ea6a5b (diff) | |
download | binaryen-032ddd6a88bf608953c76422c317eb5aa875985e.tar.gz binaryen-032ddd6a88bf608953c76422c317eb5aa875985e.tar.bz2 binaryen-032ddd6a88bf608953c76422c317eb5aa875985e.zip |
do more optimizations after inlining: precompute-propagate plus all regular opts (#1523)
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r-- | test/min.fromasm.imprecise | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise index 444551428..85ab1cc04 100644 --- a/test/min.fromasm.imprecise +++ b/test/min.fromasm.imprecise @@ -26,14 +26,17 @@ ) ) (func $legalstub$neg (; 3 ;) (param $0 i32) (param $1 i32) (result f64) + (local $2 i32) (i32.store - (get_local $0) + (tee_local $2 + (get_local $0) + ) (get_local $1) ) (f64.promote/f32 (f32.neg (f32.load - (get_local $0) + (get_local $2) ) ) ) |