diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-11-07 10:40:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-07 10:40:45 -0800 |
commit | b2070673bd4f6e4eb9eb7707bc0e64c76e9ecef7 (patch) | |
tree | 96ed117bd9f2ad18ec54180165310b3623a851a3 /src/passes/DataFlowOpts.cpp | |
parent | fb8db513e2772654b3804795c72aebd9eb8f3bca (diff) | |
download | binaryen-b2070673bd4f6e4eb9eb7707bc0e64c76e9ecef7.tar.gz binaryen-b2070673bd4f6e4eb9eb7707bc0e64c76e9ecef7.tar.bz2 binaryen-b2070673bd4f6e4eb9eb7707bc0e64c76e9ecef7.zip |
Fix a bug with (add (sub 0 X) Y) => (sub Y X) (#1727)
We need to verify that the reordering is valid if there are side effects.
Original bug report: https://groups.google.com/forum/?nomobile=true#!topic/emscripten-discuss/HIlGf8o2Ato
Diffstat (limited to 'src/passes/DataFlowOpts.cpp')
0 files changed, 0 insertions, 0 deletions