diff options
author | Thomas Lively <tlively@google.com> | 2023-08-21 18:48:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 01:48:45 +0000 |
commit | 905e2fc25208c0bce3f78ac4ac3315219194e768 (patch) | |
tree | 200fd65448697b18f2fe42d9800500f62880a4f0 /test/binaryen.js | |
parent | 4672c533985e8f2c9a88dec616aa3d9b95deb63e (diff) | |
download | binaryen-905e2fc25208c0bce3f78ac4ac3315219194e768.tar.gz binaryen-905e2fc25208c0bce3f78ac4ac3315219194e768.tar.bz2 binaryen-905e2fc25208c0bce3f78ac4ac3315219194e768.zip |
Improve br_on* optimizations (#5887)
Optimize both the known-null and known-non-null cases for BrOnNull and
BrOnNonNull and optimize for more cast behaviors such as SuccessOnlyIfNonNull
and Unreachable for BrOnCast and BrOnCastFail. Leave optimizing
SuccessOnlyIfNull to future work, since that's more complicated. Use type
information from fallthrough values to inform all the optimizations.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions