Skip to content
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

Fix the IR attributes of swift_getObjectType. #13382

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

eeckstein
Copy link
Member

It's not readnone, because it reads the metatype from an object.
Readnone would let the llvm ARC optimizer reschedule the call with a release-call for the object.

fixes SR-6560.

It's not readnone, because it reads the metatype from an object.
Readnone would let the llvm ARC optimizer reschedule the call with a release-call for the object.

fixes SR-6560.
@eeckstein
Copy link
Member Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit dcf7c66 into apple:master Dec 12, 2017
@eeckstein eeckstein deleted the fix-attrs branch December 12, 2017 03:53
@rjmccall
Copy link
Member

Hmm, that's fair. LGTM.

@eeckstein
Copy link
Member Author

rdar://problem/35998785

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.

None yet

3 participants