diff options
author | Alon Zakai <azakai@google.com> | 2021-10-13 16:55:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 16:55:02 -0700 |
commit | f1823c3a32a6901512cab3b4224ce365d06dd0b7 (patch) | |
tree | 73b0ca3a9fd1e84d9ab0dcb431d98d423afb8542 /src/shell-interface.h | |
parent | bf4b4b2012992a5e8f59359d0dd6c89df1993cca (diff) | |
download | binaryen-f1823c3a32a6901512cab3b4224ce365d06dd0b7.tar.gz binaryen-f1823c3a32a6901512cab3b4224ce365d06dd0b7.tar.bz2 binaryen-f1823c3a32a6901512cab3b4224ce365d06dd0b7.zip |
MergeBlocks: Allow side effects in a ternary's first element (#4238)
Side effects in the first element are always ok there, as they are
not moved across anything else: they happen before their parent
both before and after the opt.
The pass just left ternary as a TODO, so do at least one part of
that now (we can do the rest as well, with some care).
This is fairly useful on array.set which has 3 operands, and the
first often has interesting things in it.
Diffstat (limited to 'src/shell-interface.h')
0 files changed, 0 insertions, 0 deletions