diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2018-12-01 18:32:32 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-12-04 10:14:29 -0800 |
commit | f5b8221e9759c37ef44158c2d2858dcee51b6c1f (patch) | |
tree | 6b337b7c10ba5a9c507d762e1d6a674264e057ae /src/wasm-binary.h | |
parent | e6048c1dabde9e511d25c8bd6d2da68461807f74 (diff) | |
download | binaryen-f5b8221e9759c37ef44158c2d2858dcee51b6c1f.tar.gz binaryen-f5b8221e9759c37ef44158c2d2858dcee51b6c1f.tar.bz2 binaryen-f5b8221e9759c37ef44158c2d2858dcee51b6c1f.zip |
Improve selectification in remove-unused-brs
We turned an if into a select when optimizing for size (and if
side effects etc. allow so). This patch improves that, doing it
not just when optimizing for size, but also when it looks
beneficial given the amount of work on both sides of the if. As
a result we can create selects in -O3 etc.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions