diff options
author | Thomas Lively <tlively@google.com> | 2024-01-05 17:54:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 17:54:40 -0800 |
commit | c3b2f245fe27b933a97e732b12bdf1eb1a0f39b7 (patch) | |
tree | e02b439a832d158dda44adce00b67381ab805743 /test/passes/duplicate-function-elimination_optimize-level=1.wast | |
parent | 436d6399d2e915490f980f7f8193e84dc7ed215f (diff) | |
download | binaryen-c3b2f245fe27b933a97e732b12bdf1eb1a0f39b7.tar.gz binaryen-c3b2f245fe27b933a97e732b12bdf1eb1a0f39b7.tar.bz2 binaryen-c3b2f245fe27b933a97e732b12bdf1eb1a0f39b7.zip |
Fix branches to loops in IRBuilder (#6205)
Since branches to loops go to the beginnings of the loops, they should send
values matching the input types for the loops (which are always none because we
don't support loop input types). IRBuilder was previously using the output types
of loops to determine what values the branches should carry, which was
incorrect. Fix it.
Diffstat (limited to 'test/passes/duplicate-function-elimination_optimize-level=1.wast')
0 files changed, 0 insertions, 0 deletions