diff options
author | Alon Zakai <azakai@google.com> | 2024-09-05 11:00:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 11:00:36 -0700 |
commit | 7562a6b7da0ba517a46db1f1792677f3ebbf2a27 (patch) | |
tree | 897f11766fb7a4d7a295469e44aab87b0702867c /scripts/fuzz_shell.js | |
parent | ad6a124969a9c6874484f0982c10d6f507388b20 (diff) | |
download | binaryen-7562a6b7da0ba517a46db1f1792677f3ebbf2a27.tar.gz binaryen-7562a6b7da0ba517a46db1f1792677f3ebbf2a27.tar.bz2 binaryen-7562a6b7da0ba517a46db1f1792677f3ebbf2a27.zip |
[NFC] Add a lazy mode to LocalGraph (#6895)
LocalGraph by default will compute all the local.sets that can be read from all
local.gets. However, many passes only query a small amount of those. To
avoid wasted work, add a lazy mode that only computes sets when asked about
a get.
This is then used in a single place, LoopInvariantCodeMotion, which becomes
18% faster.
Diffstat (limited to 'scripts/fuzz_shell.js')
0 files changed, 0 insertions, 0 deletions