summaryrefslogtreecommitdiff
path: root/test/binaryen.js/optimize-levels.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-11-24 14:27:14 -0800
committerGitHub <noreply@github.com>2021-11-24 14:27:14 -0800
commit7f8d7ac89bd916f2fcbec2e14b40f653139ce5b6 (patch)
tree1880d5ee3d3f8157f1dfa2c52dd9ac444291f861 /test/binaryen.js/optimize-levels.js
parent0bf6ff7922473c37265f6dd601f889a4476ad600 (diff)
downloadbinaryen-7f8d7ac89bd916f2fcbec2e14b40f653139ce5b6.tar.gz
binaryen-7f8d7ac89bd916f2fcbec2e14b40f653139ce5b6.tar.bz2
binaryen-7f8d7ac89bd916f2fcbec2e14b40f653139ce5b6.zip
CoalesceLocals: Use ValueNumbering (#4355)
This removes the old hardcoded value numbering in that pass and makes it use the new code that was split into helper code. The immediate benefit of this is to make the code aware of identical constants: if two locals have the same constant then they do not interfere. Future improvements to numbering will also automatically help here. This changes some constants in existing tests so that they keep testing what they were testing before, and adds new tests for the new benefit here. This implements a proposed TODO from #4314
Diffstat (limited to 'test/binaryen.js/optimize-levels.js')
0 files changed, 0 insertions, 0 deletions