Skip to content

Fix unreachable BrOn branch analysis - #8970

Open
kripken wants to merge 1 commit into
WebAssembly:mainfrom
kripken:br_on_unreach
Open

Fix unreachable BrOn branch analysis#8970
kripken wants to merge 1 commit into
WebAssembly:mainfrom
kripken:br_on_unreach

Conversation

@kripken

@kripken kripken commented Aug 5, 2026

Copy link
Copy Markdown
Member

We skipped the branch if we were unreachable, but that is not correct, see
visitBreak above - we need to note all the branches, taken or not, or else
we can hit an assertion. (We rely on optimization passes to remove
unreachable branch instructions.)

@kripken
kripken requested a review from a team as a code owner August 5, 2026 16:32
@kripken
kripken requested review from tlively and removed request for a team August 5, 2026 16:32
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.

1 participant