Skip to content

wasm-reduce: Fix up EH nested pops when adding blocks#8894

Merged
kripken merged 1 commit into
WebAssembly:mainfrom
kripken:wr.eh
Jul 10, 2026
Merged

wasm-reduce: Fix up EH nested pops when adding blocks#8894
kripken merged 1 commit into
WebAssembly:mainfrom
kripken:wr.eh

Conversation

@kripken

@kripken kripken commented Jul 10, 2026

Copy link
Copy Markdown
Member

No description provided.

@kripken kripken requested a review from a team as a code owner July 10, 2026 19:53
@kripken kripken requested review from stevenfontanella and removed request for a team July 10, 2026 19:53

@stevenfontanella stevenfontanella left a comment

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.

Makes sense, but is it possible to write a test for this?

@kripken

kripken commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

Not easily, unfortunately. This really requires some operation that modifies the wasm in this way - the new ConstraintAnalysis pass does that, but nothing else, and once it's fixed, it won't reproduce the issue either.

We could in theory add some generic way to modify wasm in a wasm-reduce test... perhaps running a binaryen.js script that does a transform. Certainly worth thinking about in general.

@stevenfontanella

Copy link
Copy Markdown
Member

SGTM in that case

@kripken kripken merged commit c01b697 into WebAssembly:main Jul 10, 2026
16 checks passed
@kripken kripken deleted the wr.eh branch July 10, 2026 20:38
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