Skip to content

Remove the ZExt attribute for the MakeBoxUnique runtime function. #9388

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
May 8, 2017

Conversation

bob-wilson
Copy link
Contributor

The IR verifier in recent versions of LLVM (used with the master-next branch)
complains about a ZExt attribute used with a non-integer type, and it does
not make sense to zero-extend the return value of MakeBoxUnique, which is
a pair of pointers.

The IR verifier in recent versions of LLVM (used with the master-next branch)
complains about a ZExt attribute used with a non-integer type, and it does
not make sense to zero-extend the return value of MakeBoxUnique, which is
a pair of pointers.
@bob-wilson
Copy link
Contributor Author

@swift-ci please smoke test

@bob-wilson
Copy link
Contributor Author

@aschwaighofer Can you please review this?

@aschwaighofer
Copy link
Contributor

Agreed, zext of a pair of pointers does not make sense. I wonder where I copy/pasted this from ... I guess one of the IsUniquelyReferenced... functions.

LGTM.

@bob-wilson bob-wilson merged commit 994dcd9 into swiftlang:master May 8, 2017
@bob-wilson bob-wilson deleted the remove-zext-attribute branch May 8, 2017 17:38
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