Skip to content

Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-12-16-a ' into tensorflow #28847

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 288 commits into from
Dec 18, 2019

Conversation

dan-zheng
Copy link
Contributor

No description provided.

Azoy and others added 30 commits December 7, 2019 14:53
We can retrieve it from the passed OverloadChoice.
This helps avoid confusion with SelectedOverload's
`openedType` member.
Rather than passing separate parameters for the
choice, openedType, and openedFullType, just pass
the selected overload.
…l LiveRange class.

In a forthcoming commit, I am going to need access to the "escaping" uses of a
dead live range. Rather than add /another/ argument to isDeadLiveRange, this
commit refactors the code to be a constructor on a general LiveRange class that
internally contains the lists of destroys, forwarding instructions we can
convert to be guaranteed, and consuming instructions that we do not understand.

Should be NFC.
The extensions for supporting NSObjects are in the file:
OSLogNSObjectType.swift. This creates a new dependency for the
OSLogPrototype overlay on the module: ObjectiveC. However,
ObjectiveC is already a dependency for the os module.

This patch includes tests for the NSObject extensions.
In addition, this patch contains a few other minor changes.
1. It makes the `osLog` function public (so that it can be
used by clients directly). 2. It fixes a lifetime-related
bug in the osLog function implementation. 3. It improves
the OSLogPrototypeExecTest suite by refactoring a few
helper functions.
[stdlib][Part 1] De-gyb almost everything
- Move `DifferentiableAttr` definition above `DeclAttributes` in
  include/swift/AST/Attr.h, like other attributes.
- Remove unnecessary arguments from `DifferentiableAttr::DifferentiableAttr`
  and `DifferentiableAttr::setDerivativeGenericSignature`.
- Add libSyntax test for `@differentiable` attributes.
autolink-extract is needed on ELF (and windows-cygnus).  However, WASM
also has gone down this path and did not actually indicate that it
needed the autolink extract handling.  Extract the handling check into a
variable which helps readability.
…4f321977df32bf

[semantic-arc-opts] Convert isDeadLiveRange into a method on a general LiveRange class.
The `@derivative(of:)` attribute registers a function as a derivative of another
function. This patch adds the `@derivative(of:)` attribute definition, syntax,
parsing, and printing.

Resolves TF-826.

Todos:
- Type-checking (TF-829).
- Serialization (TF-837).
IRGen,Driver: extract tool usage into a variable (NFC)
[NFC] Pull Semantic Member Synthesis into TypeChecker's Lookup Entrypoints
[CS] Pass SelectedOverload in a couple of places
…eC return a valid SILDeclRef

rdar://57757241
[os log][stdlib/private] Add extensions for logging NSObjects.
Bump runtime to load backward compatibility hacks from __swift52_hooks
To implement swift_errorBridgingInfo, the Foundation overlay needs to import private runtime headers. Now that we cannot statically link the Foundation overlay, there is no point to keeping this workaround in the overlay any more.

This effectively reverts #16677.

rdar://problem/57809306
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Dec 18, 2019
@dan-zheng dan-zheng requested a review from asuhan December 18, 2019 06:15
@dan-zheng
Copy link
Contributor Author

@swift-ci Please clean test tensorflow

@dan-zheng
Copy link
Contributor Author

@swift-ci Please clean test tensorflow

@asuhan
Copy link
Contributor

asuhan commented Dec 18, 2019

Thanks! Should we squash the additional commits into the merge? I can try this myself.

@dan-zheng
Copy link
Contributor Author

Thanks! Should we squash the additional commits into the merge? I can try this myself.

Sure, if you'd like to! I don't feel strongly.

@asuhan
Copy link
Contributor

asuhan commented Dec 18, 2019

Squashing the additional commits is a pain, we'll go ahead as-is.

@asuhan
Copy link
Contributor

asuhan commented Dec 18, 2019

@swift-ci Please clean test tensorflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.