Skip to content

Conversation

@d-sonuga
Copy link
Contributor

@d-sonuga d-sonuga commented Nov 9, 2025

Fixes bytecodealliance/wasmtime#11850

This PR does two things:

  • Rearranges some code to reduce repetition
  • Handles the case where a livein vreg is defined on a branch instruction in fastalloc

Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a reasonable point-fix -- thanks!

@cfallin cfallin merged commit 35a1788 into bytecodealliance:main Nov 13, 2025
6 checks passed
cfallin added a commit to cfallin/regalloc2 that referenced this pull request Nov 13, 2025
Includes bytecodealliance#246, a fix to the single-pass allocator.
cfallin added a commit that referenced this pull request Nov 13, 2025
Includes #246, a fix to the single-pass allocator.
cfallin added a commit to cfallin/wasmtime that referenced this pull request Nov 13, 2025
Pulls in bytecodealliance/regalloc2#246, a fix to the single-pass
register allocator.

Fixes bytecodealliance#11850 (via that pulled-in fix from d-sonuga).
github-merge-queue bot pushed a commit to bytecodealliance/wasmtime that referenced this pull request Nov 13, 2025
Pulls in bytecodealliance/regalloc2#246, a fix to the single-pass
register allocator.

Fixes #11850 (via that pulled-in fix from d-sonuga).
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.

Segfault with exceptions + single-pass regalloc

2 participants