-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Load borrow end borrow #5379
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
Load borrow end borrow #5379
Conversation
@swift-ci Please smoke test |
Can you also update SIL.rst? |
Some questions which come to my mind which I'd like to be answered by the doc in SIL.rst: I think some of the questions are addressed in your proposal, so you just can copy the text from there. |
…tions to SIL, Serialization, Printing/Parsing. I did not add it to the ownership verifier or to IRGen yet. rdar://28685236
9715cee
to
c41ead0
Compare
@swift-ci Please smoke test |
@eeckstein I am going to do a pass through and update SIL.rst for all of the instructions I have been creating. |
Sure.
|
By primitive types, do you mean trivial types?
|
This PR implements the load_borrow and end_borrow instructions. It does not yet remove them using the ownership model eliminator or in IRGen. I skipped the IRGen part since it is not needed right now.