Skip to content

resolve_aliases: resolve every terminator use, not only branch args. - #22

Merged
cfallin merged 1 commit into
mainfrom
cfallin/resolve-aliases-terminators
Oct 1, 2026
Merged

cfallin merged 1 commit into
mainfrom
cfallin/resolve-aliases-terminators

Conversation

@cfallin

@cfallin cfallin commented Oct 1, 2026

Copy link
Copy Markdown
Member

Terminators may hvae other uses as well (e.g., conditional branch inputs).

The prior version's omission of these uses during alias-rewriting does not impact correctness, but it does mean that some optimizations don't hit as often as they should.

Terminators may hvae other uses as well (e.g., conditional branch
inputs).

The prior version's omission of these uses during alias-rewriting does
not impact correctness, but it does mean that some optimizations don't
hit as often as they should.
@cfallin
cfallin requested a review from fitzgen October 1, 2026 04:24
@cfallin cfallin mentioned this pull request Oct 1, 2026
@cfallin
cfallin merged commit 7d3e97f into main Oct 1, 2026
3 checks passed
@cfallin
cfallin deleted the cfallin/resolve-aliases-terminators branch October 1, 2026 17:10
gkgoat1 pushed a commit to gkgoat1/waffle that referenced this pull request Oct 3, 2026
Includes:

- bytecodealliance#22: completeness fix for `resolve_aliases` pass.
- bytecodealliance#23: scalability improvement in backend for very large functions
  (which result in very deeply-nested Wasm structured control flow
  trees).
- bytecodealliance#24: make the empty-blocks pass public.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants