diff options
author | Max Graey <maxgraey@gmail.com> | 2022-09-20 22:32:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 12:32:34 -0700 |
commit | 4d22e2eac0eb4dfb2793ce0399f3c1a828d6544a (patch) | |
tree | 747664a159d64056c235e27b4cd5bee34e323d87 /src/js/binaryen.js-post.js | |
parent | 32e0fed9e6619d52dee8c3b1f256d812cf115cb0 (diff) | |
download | binaryen-4d22e2eac0eb4dfb2793ce0399f3c1a828d6544a.tar.gz binaryen-4d22e2eac0eb4dfb2793ce0399f3c1a828d6544a.tar.bz2 binaryen-4d22e2eac0eb4dfb2793ce0399f3c1a828d6544a.zip |
[OptimizeInstructions] Simplify add / sub with negative on LHS or RHS for floating points (#5034)
```
(-x) + y -> y - x
x + (-y) -> x - y
x - (-y) -> x + y
```
Diffstat (limited to 'src/js/binaryen.js-post.js')
0 files changed, 0 insertions, 0 deletions