Skip to content

[4.2] IRGen: Fix type of a global with tail allocated storage #19467

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

Conversation

aschwaighofer
Copy link
Contributor

Cast the result to the expected type rather than a special
'..._tailelemsN' type.

Scope: Usage of a global array if involved in a phi node (control-flow)
could cause a compiler assert.
Risk: Low.
Testing: Swift CI
Reviewed: Erik Eckstein

rdar://44563038

Cast the result to the expected type rather than a special
'..._tailelemsN' type.

Scope: Usage of a global array if involved in a phi node (control-flow)
could cause a compiler assert.
Risk: Low.
Testing: Swift CI
Reviewed: Erik Eckstein

rdar://44563038
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please nominate

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@najacque najacque merged commit ac7c511 into swiftlang:swift-4.2-branch Sep 22, 2018
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