Skip to content

[NFC] ConstraintAnalysis: Avoid a copy when there are no interesting branch constraints#8919

Merged
kripken merged 9 commits into
WebAssembly:mainfrom
kripken:nfc.c.return.2
Jul 20, 2026
Merged

[NFC] ConstraintAnalysis: Avoid a copy when there are no interesting branch constraints#8919
kripken merged 9 commits into
WebAssembly:mainfrom
kripken:nfc.c.return.2

Conversation

@kripken

@kripken kripken commented Jul 20, 2026

Copy link
Copy Markdown
Member

Rather than always copy the constraints, then modify them when we have
something interesting, only copy when we do have something interesting.

This makes the pass 15% faster.

@kripken
kripken requested a review from a team as a code owner July 20, 2026 16:17
@kripken
kripken requested review from stevenfontanella and removed request for a team July 20, 2026 16:17
@kripken
kripken merged commit e273451 into WebAssembly:main Jul 20, 2026
16 checks passed
@kripken
kripken deleted the nfc.c.return.2 branch July 20, 2026 17:02
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