summaryrefslogtreecommitdiff
path: root/src/ir/stack-utils.cpp
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2020-09-30 22:21:30 +0300
committerGitHub <noreply@github.com>2020-09-30 12:21:30 -0700
commit11de8894505d37b7b970a2103bc5b1cfd094b115 (patch)
tree6c111c5f53da2516a571484d775be03b3601bbdb /src/ir/stack-utils.cpp
parent7e99538386e047bddc41ad50b9762b7d4b9611b8 (diff)
downloadbinaryen-11de8894505d37b7b970a2103bc5b1cfd094b115.tar.gz
binaryen-11de8894505d37b7b970a2103bc5b1cfd094b115.tar.bz2
binaryen-11de8894505d37b7b970a2103bc5b1cfd094b115.zip
Fold i32.eqz(wrap_i64(x)) -> i64.eqz(x) where possible (#3181)
Specifically, when `x` has at most 32 bits so that wrapping doesn't change its value.
Diffstat (limited to 'src/ir/stack-utils.cpp')
0 files changed, 0 insertions, 0 deletions