Skip to content

ConstraintAnalysis: Fix Pops and non-nullable LocalSets#8895

Open
kripken wants to merge 10 commits into
WebAssembly:mainfrom
kripken:constraint.eh
Open

ConstraintAnalysis: Fix Pops and non-nullable LocalSets#8895
kripken wants to merge 10 commits into
WebAssembly:mainfrom
kripken:constraint.eh

Conversation

@kripken

@kripken kripken commented Jul 10, 2026

Copy link
Copy Markdown
Member

We cannot just remove such IR, even if unreachable. Use
getDroppedChildrenAndAppend and also run EH fixups.

@kripken kripken requested a review from a team as a code owner July 10, 2026 20:56
@kripken kripken requested review from tlively and removed request for a team July 10, 2026 20:56
Comment on lines +3503 to +3504
;; internal errors, and we can just optimize this to unreachable (though we
;; keep the local.set, because of non-nullable local validation).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see the unreachable that was appended, but where are the dropped children? And what's the connection to non-nullable local validation here? The i32 local is not non-nullable.

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