Skip to content

Cranelift: Avoid a clone of LastStores in the alias analysis#13741

Merged
fitzgen merged 4 commits into
bytecodealliance:mainfrom
fitzgen:avoid-last-stores-clone
Jun 29, 2026
Merged

Cranelift: Avoid a clone of LastStores in the alias analysis#13741
fitzgen merged 4 commits into
bytecodealliance:mainfrom
fitzgen:avoid-last-stores-clone

Conversation

@fitzgen

@fitzgen fitzgen commented Jun 26, 2026

Copy link
Copy Markdown
Member

The LastStores struct contains an owned heap allocation (via SecondaryMap) so best to avoid cloning it when we can.

The `LastStores` struct contains an owned heap allocation (via `SecondaryMap`)
so best to avoid cloning it when we can.
@fitzgen fitzgen requested a review from a team as a code owner June 26, 2026 18:47
@fitzgen fitzgen requested review from cfallin and removed request for a team June 26, 2026 18:47

@cfallin cfallin 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.

Good find, thanks!

@fitzgen fitzgen enabled auto-merge June 26, 2026 21:07
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jun 26, 2026
@fitzgen fitzgen added this pull request to the merge queue Jun 29, 2026
Merged via the queue into bytecodealliance:main with commit 235eb92 Jun 29, 2026
52 checks passed
@fitzgen fitzgen deleted the avoid-last-stores-clone branch June 29, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants