Skip to content

ConstraintAnalysis: Increment constants - #8969

Open
kripken wants to merge 8 commits into
WebAssembly:mainfrom
kripken:constraint.add
Open

ConstraintAnalysis: Increment constants#8969
kripken wants to merge 8 commits into
WebAssembly:mainfrom
kripken:constraint.add

Conversation

@kripken

@kripken kripken commented Aug 4, 2026

Copy link
Copy Markdown
Member

If we know x == C and have x++, we can set it to x == C + 1, etc.

A risk when computing this is that we might end up doing x++ from
0 to 1 to 2 to 3 and so forth, until we reach some high limit. Add a
mechanism to stop such incrementing after a linear amount of work.

This is necessary to compute loop overflows.

@kripken
kripken requested a review from tlively August 4, 2026 22:27
@kripken
kripken requested a review from a team as a code owner August 4, 2026 22:27
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