diff options
author | Max Graey <maxgraey@gmail.com> | 2022-06-07 21:34:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 11:34:23 -0700 |
commit | 82d82f1a4e9aa1ce1b80acbab4a95262ec7782ae (patch) | |
tree | cb552d37428b75738681030291cf65d11e195c97 /src/wasm/wasm-stack.cpp | |
parent | ec88ea6df0925ae0e648b26d327239e946de48a6 (diff) | |
download | binaryen-82d82f1a4e9aa1ce1b80acbab4a95262ec7782ae.tar.gz binaryen-82d82f1a4e9aa1ce1b80acbab4a95262ec7782ae.tar.bz2 binaryen-82d82f1a4e9aa1ce1b80acbab4a95262ec7782ae.zip |
[Optimize Instructions] Simplify sign extentions (Part 2) (#4382)
Similar to #4004 but for 32-bit integers
i32(x) << 24 >> 24 ==> i32.extend8_s(x)
i32(x) << 16 >> 16 ==> i32.extend16_s(x)
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
0 files changed, 0 insertions, 0 deletions