Skip to content

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.
…2304ea73034fe9ff542c9d4

[semantic-arc] Fix an initialization thinko.
* 'master' of github.com:apple/swift:
  [semantic-arc] Fix an initialization thinko.
…-closure-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.
…5710c5ddb5d7859625d8c4d

[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.
…conformance

[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.
…o-driver

[LTO] Support LLVM LTO for driver
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 swiftlang#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. (swiftlang#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.
ainu-bot and others added 21 commits September 23, 2020 18:34
* 'master' of github.com:apple/swift:
  [build-script] copy over the compiler-rt .a archives from the toolchian only when necessary
  WinSDK: extract Multimedia submodule
  WinSDK: extract Printing submodule
* 'master' of github.com:apple/swift:
  [NFC] Clarify semantics of getImportedModules.
  [NFC] Rename ImportFilterKind cases to be clearer.
…conversion-exactly

[benchmark] Add another test to floating point conversion benchmark
Replace a hand-rolled variant of the subject function used for actor
isolation checking with a call to it. This exposed some limitations of
the function, which would assert() when dealing with partial
applications that involved optionals. Fix those as well.
This benchmark was being miscompiled for some time and
we did not catch it. I only noticed because a correcteness
fix caused a regression.
…h-doc

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.
…g-when-completing

[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 (swiftlang#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
…l-application

[Concurrency] Handle partial application of actor-isolated methods.
…cleanup

[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.
@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

aschwaighofer and others added 7 commits September 24, 2020 13:21
…ut_profile_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 pschuh merged commit 8b68622 into swiftlang:tensorflow Sep 24, 2020
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.