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

Insert a value_of_initializer after a call to ImplicitAs where possible. #4473

Conversation

zygoloid
Copy link
Contributor

@zygoloid zygoloid commented Nov 1, 2024

This avoids going through memory when performing an implicit conversion to a type with a by-copy value representation, such as i32.

…ssible.

This avoids going through memory when performing an implicit conversion
to a type with a by-copy value representation, such as i32.
@jonmeow jonmeow added this pull request to the merge queue Nov 4, 2024
Merged via the queue into carbon-language:trunk with commit 26d7717 Nov 4, 2024
10 checks passed
@zygoloid zygoloid deleted the toolchain-implicitas-valueofinitializer branch November 20, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants