diff options
author | Max Graey <maxgraey@gmail.com> | 2021-12-05 02:09:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 16:09:54 -0800 |
commit | 80ba2559f08422e60281ebf15856676b81f22a76 (patch) | |
tree | 3562195cca99d647bc2eb749270c01f89faa304a /src/passes/LoopInvariantCodeMotion.cpp | |
parent | dc432f3c2d3fdd18a0ac936057a76e7483907e99 (diff) | |
download | binaryen-80ba2559f08422e60281ebf15856676b81f22a76.tar.gz binaryen-80ba2559f08422e60281ebf15856676b81f22a76.tar.bz2 binaryen-80ba2559f08422e60281ebf15856676b81f22a76.zip |
[OptimizeInstructions] Combine some relational ops joined Or/And (Part 3) (#4338)
(i32(x) < 0) | (i32(y) < 0) ==> i32(x | y) < 0
(i32(x) != 0) | (i32(y) != 0) ==> i32(x | y) != 0
Likewise for i64.
Diffstat (limited to 'src/passes/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions