Skip to content

[Coro] Delete ret.popless before rewritten return. #10274

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

When CoroSplit rewrites returns as unreachables, look for an llvm.ret.popless intrinsic before the return and delete it. Fixes a verification error.

When CoroSplit rewrites returns as unreachables, look for an
llvm.ret.popless intrinsic before the return and delete it.  Fixes a
verification error.
@nate-chandler nate-chandler force-pushed the general-coro/20250317/1 branch from 11476e7 to 8abe108 Compare March 17, 2025 20:26
@nate-chandler
Copy link
Author

@swift-ci test

@nate-chandler
Copy link
Author

@swift-ci test llvm

@nate-chandler nate-chandler marked this pull request as ready for review March 18, 2025 14:24
@nate-chandler nate-chandler requested a review from a team as a code owner March 18, 2025 14:24
@nate-chandler nate-chandler merged commit 0a72fac into swiftlang:stable/20240723 Mar 18, 2025
3 of 5 checks passed
@nate-chandler nate-chandler deleted the general-coro/20250317/1 branch March 18, 2025 14:25
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