diff options
author | Max Graey <maxgraey@gmail.com> | 2022-07-26 18:42:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 08:42:45 -0700 |
commit | e95d6592d5a89485200f4822198ec13993a3e302 (patch) | |
tree | 0472f9fa904a7b4a8c5257a1222d095b3cac36c5 /src/wasm-binary.h | |
parent | a1464d9e004a43ef6d3f2fa83444e7906d9b620f (diff) | |
download | binaryen-e95d6592d5a89485200f4822198ec13993a3e302.tar.gz binaryen-e95d6592d5a89485200f4822198ec13993a3e302.tar.bz2 binaryen-e95d6592d5a89485200f4822198ec13993a3e302.zip |
[OptimizeInstructions] Add folding for mixed left shift and mul with constants on RHS (#4808)
(x * C1) << C2 -> x * (C1 << C2)
(x << C1) * C2 -> x * (C2 << C1)
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions