Skip to content

[IRGen] Apply int to ptr conversion for direct error returns if neces… #75149

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
merged 1 commit into from
Jul 11, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Jul 10, 2024

…sary

rdar://131494255

When merging a ptr into an int value for direct error return, we have to properly convert it back to a pointer at the callsite

…sary

rdar://131494255

When merging a ptr into an int value for direct error return, we have to properly convert it back to a pointer at the callsite
@drexin drexin requested a review from rjmccall as a code owner July 10, 2024 23:12
@drexin
Copy link
Contributor Author

drexin commented Jul 10, 2024

@swift-ci smoke test

@drexin drexin merged commit 32af2f6 into swiftlang:main Jul 11, 2024
3 checks passed
@drexin drexin deleted the wip-ptr-cast-tt branch July 11, 2024 03:37
aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Sep 12, 2024
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.

1 participant