Skip to content

Conversation

@nate-chandler
Copy link

Previously, a swifterror was only allowed to come from either an alloca or a parameter. The async calling convention requires that the error be a field in the swift.context parameter, so here a swifterror is allowed to be a gep into the swift.context parameter as well.

Previously, a swifterror was only allowed to come from either an alloca
or a parameter.  The async calling convention requires that the error be
a field in the swift.context parameter, so here a swifterror is allowed
to be a gep into the swift.context parameter as well.
@nate-chandler
Copy link
Author

@swift-ci please test

Copy link

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

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

As we disussed this change is not necessary. We just need to change the frontend to emit the IR in a slightly different way (going through an alloca).

@nate-chandler nate-chandler deleted the concurrency/irgen/signatures branch July 6, 2023 00:09
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