Skip to content

[AddressLowering] Factored out unconditional_checked_cast rewriting. #62192

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

Merged

Conversation

nate-chandler
Copy link
Contributor

@nate-chandler nate-chandler commented Nov 18, 2022

Previously, there were three places where unconditional_checked_cast instructions were rewritten as unconditional_checked_cast_addr instructions:

  • from address-only
  • to address-only
  • neither

Here, all three are made to factor through the new rewriteUnconditionalCheckedCast function.

Previously, there were three places where unconditional_checked_cast
instructions were rewritten as unconditional_checked_cast_addr
instructions:
- from address-only
- to address-only
- neither

Here, all three are made to factor through the new
rewriteUnconditionalCheckedCast function.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test and merge

@nate-chandler
Copy link
Contributor Author

@swift-ci please test linux platform

@nate-chandler nate-chandler merged commit 431aabc into swiftlang:main Nov 29, 2022
@nate-chandler nate-chandler deleted the opaque-values/2/20221118 branch November 29, 2022 18:31
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

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