diff options
author | Max Graey <maxgraey@gmail.com> | 2022-01-26 19:50:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 09:50:59 -0800 |
commit | cabe97319f146d72da26d9c3f7b41e920fa982de (patch) | |
tree | aacf97444584edcbcccbcbf0954cc9ad1f1f0a8a /test/lit/help/wasm-opt.test | |
parent | 707be2b55075dccaaf0a70e23352c972fce5aa76 (diff) | |
download | binaryen-cabe97319f146d72da26d9c3f7b41e920fa982de.tar.gz binaryen-cabe97319f146d72da26d9c3f7b41e920fa982de.tar.bz2 binaryen-cabe97319f146d72da26d9c3f7b41e920fa982de.zip |
[OptimizeInstructions] Combine some relational ops joined Or/And (Part 7-8) (#4399)
Final part of #4265
(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 'test/lit/help/wasm-opt.test')
0 files changed, 0 insertions, 0 deletions