Skip to content

tensorflow merge (2020-06-09) #32265

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 1,995 commits into from
Jun 9, 2020
Merged

tensorflow merge (2020-06-09) #32265

merged 1,995 commits into from
Jun 9, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jun 9, 2020

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

compnerd and others added 30 commits June 3, 2020 09:23
These showed up after the python 2, python 3 compatibility cleanup.
Instead of assuming type of its sub-pattern `is` should be able
to infer type from context and then propagate that to the sub-pattern
via conversion. This enables support for patterns like `.foo(_ as Foo)`
where `is` would have a type different from `_` which gets inferred
from associated value of `foo` and converted to `Foo` that becomes
a type of `_` pattern.

Resolves: rdar://problem/63510989
…odule

Add a demangler option to hide a current module.
And fix the name of the underlying vector.
Now that SIL files no longer interleave parsing
with type-checking, the query doesn't make much
sense. Inline it into its only client,
`shouldBuildSyntaxTree`.
Sink the `BuildSyntaxTree` and
`CollectParsedTokens` bits into
`SourceFile::ParsingFlags`, with a static method
to get the parsing options from the lang opts.

Also add a parsing flag for enabling the interface
hash, which can be used instead of calling
`enableInterfaceHash`.
The `SaveAndRestore` is unnecessary as `Parser`'s
constructor already sets up the interface hash,
and the request covers the `FrontendStatsTracer`.
Rename `Bag` to `Tokens`, and query the
SourceManager from the ASTContext instead of
storing it directly.
Currently when parsing a SourceFile, the parser
gets handed pointers so that it can write the
interface hash and collected tokens directly into
the file. It can also call `setSyntaxRoot` at
the end of parsing to set the syntax tree.

In preparation for the removal of
`performParseOnly`, this commit formalizes these
values as outputs of `ParseSourceFileRequest`,
ensuring that the file gets parsed when the
interface hash, collected tokens, or syntax tree
is queried.
This is temporarily swapped in as the token
receiver while backtracking, so make sure we don't
try to call `finalize` on it.
[Diagnostics] Refactor diagnostics related to raw representable types
* Add a benchmark for mirrors and typename->string conversion
…trix-idx

Add new enum value clang::BuiltinType::IncompleteMatrixIdx to switch statements
[SourceKit] Disable complete_build_session.swift test file while investigating
test: repair the test after accidental merge without testing
…99884045bc2605

[semantic-arc-opts] Perform a rename/add some comments after talking with @atrick.
swift-ci and others added 21 commits June 8, 2020 19:02
)

"returns A new encoder" -> "returns a new encoder"

Resolves rdar://64136400.
…win only product.

We have a few of these like foundation, libdispatch, icu, xctest that are built
outside of build-script on Darwin.
This is just based off of the defaults that we use on the buildbots as of this
commit.

In order to not break the bots as they are, I left the internal representation
as a semicolon list of components. So this should be NFC from the perspective of
the bots since they all explicitly specify llvm-install-components if needed
(and we do not install without install-llvm anymore).
…ult-crash-fix

[Property wrappers] Reject opaque result types when there is no initializer
I only didn't touch playground-support since I don't know if there are deps
there or not. Everything else here though shouldn't need lldb to be built.
test: mark test as executable_test
…8c2b1c7e1583ca

[build-script] Add support for specifying that a product is a non-darwin only product.
…9a24d036c56706

[build-script] Define default llvm_install_components.
stdlib, SIL optimizer: use the SIL copy-on-write representation in the Array types.
…4482b004aacc8f

[build-script] Remove a bunch of conservative dependencies on lldb.
Removes redundant buffer zeroing in lowercased() and uppercased() by using `init(unsafeUninitializedCapacity:initializingWith:)
…-fix

[Runtime] Clean up verifyMangledNameRoundtrip comment.
@compnerd
Copy link
Member Author

compnerd commented Jun 9, 2020

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

@swift-ci please clean test tensorflow

@compnerd compnerd merged commit 946595f into tensorflow Jun 9, 2020
@compnerd compnerd deleted the tensorflow-merge branch June 9, 2020 23:30
drodriguez added a commit to drodriguez/swift that referenced this pull request Aug 10, 2020
This is a change that will be necessary for master-next. readobj seems
to report elf32-littlearm when compiling for Android ARMv7.

This is similar to commit f7cf5bd which
is still available in master-next, but I think was (mistakenly) reverted
with swiftlang#32265.
drodriguez added a commit to drodriguez/swift that referenced this pull request Aug 16, 2020
This is a change that will be necessary for master-next. readobj seems
to report elf32-littlearm when compiling for Android ARMv7.

This is similar to commit f7cf5bd which
is still available in master-next, but I think was (mistakenly) reverted
with swiftlang#32265.

(cherry picked from commit 80135c9)
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.