diff options
author | Alon Zakai <azakai@google.com> | 2021-04-21 13:28:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 13:28:18 -0700 |
commit | 3d8fafdffa9799d73c9cfd5e0df11f9ffe53b34f (patch) | |
tree | fa8af83015dd4bf9562b1895d13a1fb1a8f056de /src/tools/wasm-metadce.cpp | |
parent | a72f5b7f440a73c23b7f1b0532446584d4da0854 (diff) | |
download | binaryen-3d8fafdffa9799d73c9cfd5e0df11f9ffe53b34f.tar.gz binaryen-3d8fafdffa9799d73c9cfd5e0df11f9ffe53b34f.tar.bz2 binaryen-3d8fafdffa9799d73c9cfd5e0df11f9ffe53b34f.zip |
OptimizeInstructions: Move identical unary code out of if/select arms (#3828)
(select
(foo
(X)
)
(foo
(Y)
)
(condition)
)
=>
(foo
(select
(X)
(Y)
(condition)
)
)
To make this simpler, refactor optimizeTernary to be templated.
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
0 files changed, 0 insertions, 0 deletions