diff options
author | Alon Zakai <azakai@google.com> | 2020-07-28 11:12:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 11:12:15 -0700 |
commit | fceb216b9ad28dabc8c0fd5790b544d5d64acf64 (patch) | |
tree | b58a4300168a98a6708c95dfbf66c67c504dddcf /scripts/test/support.py | |
parent | 63d60fef3b07a343e21fb4bb8227c4e674633704 (diff) | |
download | binaryen-fceb216b9ad28dabc8c0fd5790b544d5d64acf64.tar.gz binaryen-fceb216b9ad28dabc8c0fd5790b544d5d64acf64.tar.bz2 binaryen-fceb216b9ad28dabc8c0fd5790b544d5d64acf64.zip |
AvoidReinterprets should not remove code around a reinterpret's value's fallthrough (#2989)
We can turn a reinterpret of a load into a different load, and so forth, but if
the reinterpret has a non-load child with a load fallthrough, that's not good
enough - we can't remove the extra code:
(reinterpret
(block
..extra code..
(load)
)
)
That can't be turned into a load of the flipped type.
Diffstat (limited to 'scripts/test/support.py')
0 files changed, 0 insertions, 0 deletions