diff options
author | Max Graey <maxgraey@gmail.com> | 2022-01-21 00:36:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 14:36:02 -0800 |
commit | 93f69e5805a5476a60d2b593c24e80c5fce779e7 (patch) | |
tree | 60e9181ffa18fac32c1cbf049fe8620259f297a3 /src/passes/StackCheck.cpp | |
parent | 5436efcc7ff729e6a16506185bea171e943028c7 (diff) | |
download | binaryen-93f69e5805a5476a60d2b593c24e80c5fce779e7.tar.gz binaryen-93f69e5805a5476a60d2b593c24e80c5fce779e7.tar.bz2 binaryen-93f69e5805a5476a60d2b593c24e80c5fce779e7.zip |
[OptimizeInstructions] Combine some relational ops joined Or/And (Part 5-6) (#4372)
(i32(x) >= 0) | (i32(y) >= 0) ==> i32(x & y) >= 0
(i64(x) >= 0) | (i64(y) >= 0) ==> i64(x & y) >= 0
(i32(x) != -1) | (i32(y) != -1) ==> i32(x & y) != -1
(i64(x) != -1) | (i64(y) != -1) ==> i64(x & y) != -1
Diffstat (limited to 'src/passes/StackCheck.cpp')
0 files changed, 0 insertions, 0 deletions