Skip to content

Resolve conflicts with master #1422

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 25 commits into from
Jul 9, 2020
Merged

Resolve conflicts with master #1422

merged 25 commits into from
Jul 9, 2020

Conversation

MaxDesiatov
Copy link

No description provided.

compnerd and others added 25 commits July 7, 2020 15:18
This uses `io.open` to allow `test_util` to open with the encoding and
newline handling across python 2 and python 3.  With this change, the
test suite failures are within the single digits locally.
This is required to ensure that we encode the strings correctly when
redirected.  This allows the printing to succeed where it would fail
previously due to encoding failures.
…put.

Clients that use -print-target-info can avoid an extra frontend
invocation by using this information.
Describe the backward-deployment libraries via a preprocessor-driven
table. Macro-metaprogramming the two places in the code base---the
driver and IRGen---to use this tabble to determine which
backward-compatibility libraries to link against.
The driver and any other client that attempts to properly link Swift
code need to know which compatibility libraries should be linked on a
per-target basis. Vend that information as part of -print-target-info.
Appease the python linter
This used to cause duplicated results in call signature completions.
i.e.:

  AlertViewController(#^HERE^# // 2 x (coder: NSCoder)

rdar://problem/65081358
…e-inference-enum-witness

[AssociatedTypeInference] Strip 'self' parameter from function type of an enum case witness
test: make `test_util` more Python 3 friendly
…081358

[CodeCompletion] Remove redundant entries from possible callee analysis
[Build System] Support host target prefix in symbols package
The test is passing now--un-XFAIL it.

rdar://problem/50648519
…ationwithin it by inverting if statements.

NFCI.
Rename "emitters" to "cloners", for consistency:
- `JVPEmitter` -> `JVPCloner`
- `VJPEmitter` -> `VJPCloner`
- `PullbackEmitter` -> `PullbackCloner`

Improve `PullbackCloner` documentation.
- Document previously undocumented methods.
- Update outdated documentation.
  - For adjoint value accumulation helpers: rename "buffer access" occurrences to
    "address". Pullback generation no logner uses buffer accesses (`begin_apply`).
…unction has a noreturn result.

Sometimes one just has a SILFunctionConvention instead of the underlying
SILFunctionType (that the SILFunctionConvention contains). This just shims in
that API onto the composition type.
…get-info

[Frontend] Improve -print-target-info
…974d93fbe5509171ea31bd0

[gardening] Extract out a lambda out of a loop and reduce some indentation within it by inverting if statements.
…merge

# Conflicts:
#	test/Driver/print_target_info.swift
@MaxDesiatov MaxDesiatov merged commit d495229 into swiftwasm Jul 9, 2020
@MaxDesiatov MaxDesiatov deleted the maxd/master-merge branch July 12, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.