Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Oct 31, 2025

We had the logic to recompute the effects, which handled tracked
globals/locals/etc. However, we also need to check the effect of the
result being non-constant, which can happen if we propagate
values and find an input is not constant.

Fixes #8013

@kripken kripken requested a review from tlively October 31, 2025 18:41
@kripken kripken merged commit ff7c909 into WebAssembly:main Nov 3, 2025
16 checks passed
@kripken kripken deleted the precompute.loop branch November 3, 2025 17: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.

Bad optimization by wasm-opt

2 participants