Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scalar-abi-only field retagging option #2613

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Oct 22, 2022

@saethlin has requested a Stacked Borrows field retagging mode that matches when we do in terms of emitting noalias for LLVM. So here you go! Types with Scalar and ScalarPair ABI are being recursively retagged, everything else is not.

Given that many types can get ScalarPair ABI, I don't think this actually helps to make many things sound that are unsound under full field retagging -- but it might still be useful for some experimentation.

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Oct 23, 2022

📌 Commit 7491c6a has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 23, 2022

⌛ Testing commit 7491c6a with merge b51470a...

@bors
Copy link
Contributor

bors commented Oct 23, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing b51470a to master...

@bors bors merged commit b51470a into rust-lang:master Oct 23, 2022
@RalfJung RalfJung deleted the scalar-only-field-retagging branch October 24, 2022 21:53
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