Skip to content

Revert "[IRGen] Put 'ret void' instead of unreachable for non swiftasync cc" #40446

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

Closed

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Dec 7, 2021

Reverts #39680

I think that this might have regressed the Windows CI; the change itself is relevant to Windows as well as the TCO path in PEI is unsupported ATM :-(.

@compnerd
Copy link
Member Author

compnerd commented Dec 7, 2021

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Dec 7, 2021

CC: @DougGregor @kateinoigakukun

Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

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

For the record, test/IRGen/async/hop_to_executor.sil failed
https://ci-external.swift.org/job/oss-swift-windows-toolchain-x86_64-vs2019/439/console

@compnerd
Copy link
Member Author

compnerd commented Dec 7, 2021

If #40448 passes (which it should as I tested it locally), we should prefer that over this. This just verified that this failure was caused by that change. Given that it has a head start over this change, I don't think it makes sense to merge this and might as well as fix forward.

@DougGregor
Copy link
Member

Windows passed with this revert, so that was the cause... but let's hope #40448 passes so we don't need this.

@compnerd compnerd closed this Dec 7, 2021
@compnerd compnerd deleted the revert-39680-katei/fix-ill-unreachable-coro-end branch December 7, 2021 13:50
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.

3 participants