Skip to content

Merge 2020-09-24 into tensorflow #34066

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 378 commits into from
Sep 24, 2020
Merged

Merge 2020-09-24 into tensorflow #34066

merged 378 commits into from
Sep 24, 2020

Conversation

pschuh
Copy link
Contributor

@pschuh pschuh commented Sep 24, 2020

No description provided.

gottesmm and others added 30 commits September 17, 2020 17:39
Just doing this quickly to prevent the bots from breaking. We still were using
the default instModCallbacks that do remove/RAUW/etc, but do not update data
structures.
…lower ownership.

Specifically the option: -sil-stop-optzns-before-lowering-ownership. This makes
it possible to write end-to-end tests on OSSA passes. Before one would have to
pattern match after ownership was lowered, losing the ability to do finegrained
FileCheck pattern matching on ossa itself.
stdint.h is missing; this repairs a number of unit tests.
…34fe9ff542c9d4

[semantic-arc] Fix an initialization thinko.
* 'master' of github.com:apple/swift:
  [semantic-arc] Fix an initialization thinko.
…representation

ASTScope: Simplify representation of closures
* 'master' of github.com:apple/swift:
  ASTScope: Simplify representation of closures
This fixes unit test `stdlib/PrintFloat.swift.gyb` on OpenBSD.
* 'master' of github.com:apple/swift:
  [stdlib] Fix the OpenBSD modulemap.
* 'master' of github.com:apple/swift:
  [docs] Link 'The Swift Runtime' blog posts in ExternalResources.md.
…5d7859625d8c4d

[ownership] Add a frontend option to stop optimizing right before we lower ownership.
* 'master' of github.com:apple/swift:
  [ownership] Add a frontend option to stop optimizing right before we lower ownership.
[Concurrency] Actor-isolated members cannot satisfy protocol requirements
* 'master' of github.com:apple/swift:
  [Concurrency] Actor-isolated members cannot satisfy protocol requirements.
…Expr

We'll need this to get the right 'selfDC' when name lookup
finds a 'self' declaration in a capture list, eg

class C {
  func bar() {}
  func foo() {
    _ = { [self] in bar() }
  }
}
…ut parse-time lookup

The DeclRefExpr here was resolved by parse-time lookup.
Without it, it's an UnresolvedDeclRefExpr.
This centralizes some invariants around the 'self' parameter.
While all ConstructorDecls and DestructorDecls have a 'self',
even if they're invalid because they're not nested inside a type,
we don't want to consider this as the base 'self' for lookups.

Eg, consider this invalid code:

class C {
  func f() {
    init() {
      x
    }
  }
}

The base for the lookup should be f.self, not f.init.self.
…fiedLookup

Instead of having ASTScope compute 'selfDC', the lookup
consumer can compute it on its own, by looking for
bindings named 'self'.
Reject concurrency-only attributes in the parser if the experimental
concurrency mode is not enabled.
Specify Float80 as supported on OpenBSD.
…tage

* 'tensorflow' of github.com:apple/swift:
  Update llvm hash in update-checkout-config.json
  Add arg to install_toolchain_path()
  update-checkout-config.json: adjust for tensorflow merge
I had this originally before landing #33984, but it got merged while rebasing
into the wrong patch by mistake. Upstreaming ti now as a result.
…tage

* 'tensorflow' of github.com:apple/swift:
  [TF] Add `Optional: KeyPathIterable` conformance. (#33992)
Rework the data structures we use in the conformance checker to talk
about missing witnesses, so they can capture the set of potential
matches. This will allow us to delay more diagnostics to later,
more uniformly.
shahmishal and others added 22 commits September 23, 2020 22:48
Update doc and links to support new main branch
Add result checking to the ChaCha benchmark.
LLVM-Passes: add pointer authentication to Swift's function merge pass.
…mpleting

[ConstraintSystem] Adjust overload filtering to be less aggressive in …
Store Clang module imports in addition to Swift overlay.
This grants access to the name of the loaded file to clients, which will be important for the upcoming cross-module incremental build experiments.
Strip mention of the SourceFile. Any FileUnit-esque thing that can provide top-level decls and `lookupClassMembers` works here - especially a ModuleDecl.
* 'master' of github.com:apple/swift:
  Make MinSizeRel builds of stdlib (but not the compiler) produce debug info (#33787)
  Add result checking to the ChaCha benchmark.
  [ConstraintSystem] Adjust overload filtering to be less aggressive in code completion mode
  Store Clang module imports in addition to Swift overlay.
  LLVM-Passes: add pointer authentication to Swift's function merge pass.
  Update doc and links to support new main branch
  [benchmark] Tweak naming and workload for two new tests
  [benchmark] Add another floating point conversion benchmark
  [benchmark] Add another test to floating point conversion benchmark
…tion

[Concurrency] Handle partial application of actor-isolated methods.
[NFC] Minor cleanup related to Clang types in SIL
* 'master' of github.com:apple/swift:
  [NFC] Use SILPrintContext for configuring printSIL.
  [NFC] Clean up construction of ExtInfo(Builder).
  [NFC] Add some TODO comments for cleanup.
  Clean up AutoClosureExpr::getUnwrappedCurryThunkExpr().
  [Concurrency] Handle non-escaping partial application.
  [Concurrency] Prohibit partial application of actor-isolated methods.
…e_sil_type

IRGen: Scalar type layouts need to profile the SIL type
* 'master' of github.com:apple/swift:
  IRGen: Scalar type layouts need to profile the SIL type
[NFC] Some Uncontroversial Frontend Refactorings
* 'master' of github.com:apple/swift:
  Generalize SourceFileDeclFinder
  [NFC] Refine the Return Type of SerializedModuleLoaderBase::loadAST
  [NFC] Privatize FrontendSourceFileDepGraphFactory.h
  [test] Mark failing reflection tests XFAIL.
  [test] Erase SDKROOT since env -u is not portable.
@pschuh
Copy link
Contributor Author

pschuh commented Sep 24, 2020

Please test with following PRs:
swiftlang/llvm-project#1840

@swift-ci Please clean test TensorFlow

@pschuh
Copy link
Contributor Author

pschuh commented Sep 24, 2020

Please test with following PRs:
swiftlang/llvm-project#1840

@swift-ci Please clean test TensorFlow

1 similar comment
@pschuh
Copy link
Contributor Author

pschuh commented Sep 24, 2020

Please test with following PRs:
swiftlang/llvm-project#1840

@swift-ci Please clean test TensorFlow

@pschuh pschuh requested a review from marcrasi September 24, 2020 22:35
@pschuh pschuh merged commit 8b68622 into tensorflow Sep 24, 2020
@pschuh pschuh deleted the tensorflow-merge branch September 24, 2020 22: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.