diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-06-08 15:45:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 15:45:02 -0700 |
commit | e3d201158d9136d6ffb655f70904dae5f9079317 (patch) | |
tree | 93329d0026eab20e5344358a902a6e2cf8b49d62 /test/passes/simplify-locals.wast | |
parent | 7676221b837bbd20daf1889dbdabf3cb76721658 (diff) | |
download | binaryen-e3d201158d9136d6ffb655f70904dae5f9079317.tar.gz binaryen-e3d201158d9136d6ffb655f70904dae5f9079317.tar.bz2 binaryen-e3d201158d9136d6ffb655f70904dae5f9079317.zip |
Improve local-cse (#1594)
This makes it much more effective, by rewriting it to depend on flatten. In flattened IR, it is very simple to check if an expression is equivalent to one already available for use in a local, and use that one instead, basically we just track values in locals.
Helps with #1521
Diffstat (limited to 'test/passes/simplify-locals.wast')
-rw-r--r-- | test/passes/simplify-locals.wast | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/passes/simplify-locals.wast b/test/passes/simplify-locals.wast index 70eb79faa..60531717c 100644 --- a/test/passes/simplify-locals.wast +++ b/test/passes/simplify-locals.wast @@ -1129,7 +1129,6 @@ ) (i32.const 0) ) - (func $pick (local $x i32) (local $y i32) |