Skip to content

Merge tag 'DEVELOPMENT-SNAPSHOT-2019-05-15-a' to 'tensorflow' #24887

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 554 commits into from
May 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
554 commits
Select commit Hold shift + click to select a range
7ba9d65
Merge pull request #24646 from apple/revert-19820-raj-es-enable
swift-ci May 9, 2019
580ca72
[silgen] Always ensure that we have a +1 value when emitting reabstra…
gottesmm May 6, 2019
d5819c9
Also apply @inlinable to AccelerateBuffer default implementations.
stephentyrone May 9, 2019
2309ee5
Merge pull request #24617 from sl/sl/sr-10297
sl May 9, 2019
9d30bf5
Merge pull request #24606 from akyrtzi/swift-test-stdlib-depend-cmake
akyrtzi May 9, 2019
a4e5bce
Move strange interpolation fix to PreCheckExpression
beccadax May 3, 2019
da74978
[Parse] Parse string interpolations as args
beccadax May 6, 2019
4f1e05c
[AST] Give appendInterpolation refs a SourceLoc
beccadax May 6, 2019
642f64f
[AliasAnalysis] Check for nullptr before dereferencing.
May 9, 2019
cb7e3d5
Merge pull request #24655 from stephentyrone/accelerate-buffer-inlinable
swift-ci May 9, 2019
9913468
Merge pull request #24636 from compnerd/custom-cross
compnerd May 9, 2019
3d432fe
Sema / Test: Fix misplaced fix-it for .init calls on instances
sl May 9, 2019
037a1df
Merge pull request #24645 from smeenai/reflection
compnerd May 9, 2019
104ece8
Merge pull request #24620 from rintaro/serialization-swiftonly-system…
rintaro May 9, 2019
e8773b5
Add a PrettyStackTrace for SILInliner::inlineFunction (#24658)
jrose-apple May 9, 2019
dc6b2e2
Merge pull request #24657 from dcci/alias-ubsan
dcci May 10, 2019
cd0c1e7
build: correct flags for Windows build
compnerd May 9, 2019
dcf27a5
Merge pull request #24660 from sl/sl/sr-3245
sl May 10, 2019
671ae94
Merge pull request #24514 from broadwaylamb/docs-concurrency
compnerd May 10, 2019
73aba9b
Update LibraryEvolution.rst for new attribute names
slavapestov May 9, 2019
a52c26f
Add Windows build status on README
shahmishal May 10, 2019
242108a
Merge pull request #24633 from slavapestov/update-evolution-doc-new-a…
slavapestov May 10, 2019
781ce5e
XFAIL ParsableInterface/verify_all_overlays.py
beccadax May 10, 2019
c2ecf6d
Merge pull request #24669 from brentdax/unsanitary-overlays
beccadax May 10, 2019
179251d
[sil-combine] Do not perform existential type propagation on @in para…
gottesmm May 9, 2019
afe3114
[sil] Expand immutable address verification to in_guaranteed parameters.
gottesmm May 2, 2019
25a075c
[IRGen] Remove unused explosion schema from enum payload schema
mundaym May 10, 2019
b85c600
[Runtime] Use a #define for the value of swift_isaMask.
mikeash May 8, 2019
9c4c304
Merge pull request #24591 from xymus/req-sig-request
xymus May 10, 2019
8625b71
Merge pull request #24664 from compnerd/threading-now-you-have-two-pr…
compnerd May 10, 2019
5c6a93e
[Test] Delete ErrorBridgedStatic test.
mikeash May 10, 2019
2ae51ca
Merge pull request #24610 from gottesmm/pr-2df2f80b348fecaae23a17b6aa…
gottesmm May 10, 2019
8b87364
Remove DelayedRequirementSignatures and rely on laziness instead
xymus May 9, 2019
6c8641b
[SourceKit] Add InterfaceGen test case for pure Swift system module
rintaro May 10, 2019
fca1128
Merge pull request #24678 from mikeash/errorbridgedstatic-says-goodbye
swift-ci May 10, 2019
14a20ee
Merge pull request #24616 from mikeash/hardcode-swift-isamask
mikeash May 10, 2019
f23f3fe
[windows] Add build script for Windows.
drodriguez Apr 16, 2019
cecbb14
minor fixes
Gumichocopengin8 May 10, 2019
5a8a0a8
[Test] Guard SwiftNativeNSXXXCoding tests behind #available(9999).
mikeash May 10, 2019
cc53fd9
Fix archive_attributes test to work on macOS 10.9
slavapestov May 10, 2019
841eb4c
[stdlib] Revise collection difference documentation (#24675)
natecook1000 May 10, 2019
4643cbd
GSB: Remove another call to resolveDeclSignature()
slavapestov May 9, 2019
644b6ad
AST: Simplify ProtocolConformanceRef::getTypeWitnessByName()
slavapestov May 10, 2019
4e3dafd
AST: Remove ProtocolConformanceRef::getInheritedConformanceRef()
slavapestov May 10, 2019
37412c2
AST: Add ParamDecl::toFunctionParam()
slavapestov May 9, 2019
33e1d95
Merge pull request #24690 from slavapestov/archive-attributes-arclite…
beccadax May 10, 2019
a75f2d7
[benchmark] Set.Seq showcase optimized early exits
palimondo May 10, 2019
2454815
Merge pull request #24682 from xymus/delayed-req-sig
xymus May 10, 2019
b67b45a
[android] Modify lit replacement of module-target-triple for ARMv7
drodriguez May 10, 2019
42c1186
docs: fix doc build error in LibraryEvolution.rst
eeckstein May 10, 2019
387fc08
Disable Prototypes/TextFormatting in 32-bit
beccadax May 10, 2019
3ec3d9b
[Runtime] In the assert for SWIFT_ISA_MASK, tolerate it if objc_debug…
mikeash May 10, 2019
74b40ef
Merge pull request #24698 from brentdax/xfail-textformatting
beccadax May 10, 2019
f0a6948
[android] Add a test for Android conditional compilation (AArch64)
drodriguez May 7, 2019
07f373d
[benchmark] Set.subtracting.Seq increased workload
palimondo May 10, 2019
5c06d77
[Build System: CMake] Cleanup the StandaloneOveraly CMake module.
Rostepher May 10, 2019
0d82f1e
Merge pull request #24685 from rintaro/sourcekit-test-pureswift-sysmo…
rintaro May 10, 2019
d0c7eb6
Merge pull request #24694 from slavapestov/random-ast-cleanups
slavapestov May 10, 2019
9043ec4
Merge pull request #24697 from eeckstein/fix-docs
swift-ci May 10, 2019
5e308a3
Merge pull request #24701 from Rostepher/cleanup-standalone-overlay-c…
Rostepher May 10, 2019
2966af3
[Build System: CMake] Add CMake module paths before importing in Stan…
Rostepher May 10, 2019
08bd6bd
Disable Prototypes/TextFormatting everywhere
beccadax May 10, 2019
ea515bf
Merge pull request #24699 from mikeash/fix-isa-mask-assert
beccadax May 11, 2019
2672e5e
Merge pull request #24707 from brentdax/xfail-textformatting-more
beccadax May 11, 2019
075b918
Merge pull request #24674 from linux-on-ibm-z/payload-schema-deadcode
slavapestov May 11, 2019
97be86b
Runtime: Don't try to register class stubs on older objc runtimes
slavapestov May 10, 2019
12469f5
IRGen: Always emit class stubs for classes with resilient ancestry
slavapestov May 10, 2019
4cb7d27
Revert "[SourceKit] Add InterfaceGen test case for pure Swift system …
rintaro May 11, 2019
00af9c9
Merge pull request #22156 from Azoy/cache-money
swift-ci May 11, 2019
ce3290a
Merge pull request #24710 from apple/revert-24685-sourcekit-test-pure…
swift-ci May 11, 2019
1743235
Merge pull request #24704 from slavapestov/always-emit-class-stubs
slavapestov May 11, 2019
f966020
Merge pull request #23884 from linux-on-ibm-z/s390x-gentype-fix
jckarter May 11, 2019
c957c50
Serialization: use the mangled class name for serializing vtables.
eeckstein May 10, 2019
da37a56
[sil] Change the immutable address use verifier to ignore br/cond_br …
gottesmm May 11, 2019
f385834
[sil] When the immutable address use verifier errors due to an unknow…
gottesmm May 11, 2019
92fefdc
Merge pull request #24715 from gottesmm/pr-77235b46e32b8feb75c20ca06c…
swift-ci May 11, 2019
f243484
Merge pull request #24716 from gottesmm/pr-ada147d650664b6f8f9c93845c…
swift-ci May 11, 2019
b583fef
Consolidate StringInterpolationExpr to StringLiteralExpr
kitasuke May 6, 2019
ef413e4
Use StringLiteralExpr node if it's a single literal segment
kitasuke May 10, 2019
9155ed8
Use StringLiteralExpr for invalid InterpolatedStringLiteralExpr
kitasuke May 12, 2019
616ec93
Merge pull request #24625 from atrick/canonicalize-stores
swift-ci May 12, 2019
87e1efd
Merge pull request #24156 from Gumichocopengin8/add-set-benchmarks
palimondo May 12, 2019
81db10c
[benchmark] Disable tests with overlong runtime
palimondo May 12, 2019
c7593ce
Merge pull request #24725 from apple/skip-bench-pending-set-on-fire
swift-ci May 12, 2019
2587df2
Merge pull request #24696 from drodriguez/android-fix-cursor-swiftonl…
drodriguez May 12, 2019
94a9a9b
Fixing let var warnings on CheckCollectionInstance.swift
LucianoPAlmeida May 12, 2019
7b7c320
[CodeCompletion] Allow ErrorType in constructor
rintaro May 13, 2019
b2542a3
Merge pull request #24127 from Gumichocopengin8/fix-build-warnings
swift-ci May 13, 2019
70be266
Merge pull request #23293 from PatrickPijnappel/range-overlaps-perfor…
PatrickPijnappel May 13, 2019
da9f67c
[docs] Update `trailingZeroBitCount` documentation (#24713)
xwu May 13, 2019
4beb673
Bump compiler version to Swift 5.1 (#24671)
tkremenek May 13, 2019
a7d33aa
Fix to make minimum AST nodes for StringLiteralExpr
kitasuke May 13, 2019
b3a4ab6
Revert removal of invalid interpolation check
kitasuke May 13, 2019
c42ec7a
[Runtime] Don't check objc_debug_isa_class_mask when back deploying.
mikeash May 13, 2019
0a3b722
Merge pull request #24688 from mikeash/swift-nativensxxxcoding-test-a…
mikeash May 13, 2019
b903f71
Merge pull request #24727 from rintaro/ide-completion-init-dependentt…
rintaro May 13, 2019
6cca050
[Serialization] Retire "shadowed module" in favor of "underlying" (#2…
jrose-apple May 13, 2019
663defa
[SourceKit] Add InterfaceGen test case for pure Swift system module
rintaro May 13, 2019
e51b72b
Reduce the Stack Size of ConstraintSystem
gmittert May 9, 2019
d2603af
[api-digester] Remove whitespace changes
dmcyk May 13, 2019
5c0e743
[build-script] Introduce ProductBuilder. Transform Ninja to use it.
drodriguez Mar 13, 2019
cfc2dda
Merge pull request #24705 from eeckstein/fix-vtable-serialization
eeckstein May 13, 2019
5cb98bf
[ModuleInterface] Pass -Rmodule-interface-rebuild to sub-invocation (…
May 13, 2019
c648a71
Merge pull request #24077 from drodriguez/temporary-windows-build-script
drodriguez May 13, 2019
c506747
[Serialization] Drop inherited conformances on classes (#23347)
jrose-apple May 13, 2019
77a411a
Merge pull request #24544 from drodriguez/android-aarch64-conditional…
drodriguez May 13, 2019
0455913
AST: Make ConstructorDecl::getInitializerInterfaceType() more forgivi…
slavapestov May 10, 2019
d22b3a7
Sema: Move the Optional-typed nil peephole to SILGen
slavapestov May 9, 2019
0bab515
Sema: Build type checked bodies for trivial accessors
slavapestov May 9, 2019
a18c32a
Sema: Build type checked bodies for designated init overrides
slavapestov May 10, 2019
636d63e
[code-completion] Handle nested keypath dynamic lookup correctly
benlangmuir May 4, 2019
e72242a
Merge pull request #24706 from Rostepher/fix-cmake-import
Rostepher May 13, 2019
23a868e
Merge pull request #24382 from Rostepher/usr-lib-install-name-dir
Rostepher May 13, 2019
6dd4d06
Merge pull request #24732 from rintaro/sourcekit-test-pureswift-sysmo…
rintaro May 13, 2019
bf93fac
Merge pull request #24586 from dmcyk/ProtocolUSR
nkcsgexi May 13, 2019
b45dfde
[windows] Make build-windows.bat use CRLF endings.
drodriguez May 13, 2019
343c524
Merge pull request #24667 from apple/shahmishal-patch-3
swift-ci May 13, 2019
0f05fe8
Merge pull request #24749 from drodriguez/windows-use-crlf-in-batch
shahmishal May 13, 2019
d84e2aa
[Build System: CMake] Add missing SWIFT_STDLIB_LIBRARY_TYPES to the S…
Rostepher May 13, 2019
d65254c
Add doc comments to the new lookupVisible* functions
benlangmuir May 13, 2019
a6d5830
Merge pull request #24659 from gmittert/StackConstraints
gmittert May 13, 2019
e09a341
Consume toke for string literal expr in a better way
kitasuke May 13, 2019
6befb10
Cache struct/class field offsets in SIL.
atrick May 9, 2019
c7b4e7c
Add scale-test --save-temps option.
atrick May 13, 2019
8f84429
Add a scale-test for VarDecl::getStoredProperties.
atrick May 13, 2019
d332d21
[Build System: CMake] Set the install_name_dir to @rpath for the Swif…
Rostepher May 14, 2019
aea3626
Merge pull request #24750 from Rostepher/no-platform-to-stand-on
Rostepher May 14, 2019
b9f42b3
Merge pull request #24665 from slavapestov/fully-checked-trivial-acce…
slavapestov May 14, 2019
8277f8b
test: make test paths more portable
compnerd May 14, 2019
b7b4662
[SIL Optimization] Add a mandatory optimization pass for optimizing
ravikandhadai Apr 27, 2019
e43a9f5
[ModuleInterface] Propagate availability for synthesized extensions (…
jrose-apple May 14, 2019
36e46c0
IRGen: Fix DynamicSelfType metadata recovery in @objc convenience ini…
slavapestov May 14, 2019
22cea6c
IRGen: Remove IRBuilder::StableIP
slavapestov May 14, 2019
54d3930
[Runtime] Adjust to conforming type when instantiating witness table.
DougGregor May 14, 2019
78d0639
Merge pull request #24752 from Rostepher/swiftlang-module-install-nam…
beccadax May 14, 2019
9d573b6
Merge pull request #24759 from DougGregor/runtime-conforming-type-ins…
DougGregor May 14, 2019
9cb2e6e
Merge pull request #24755 from compnerd/unparseable
compnerd May 14, 2019
0283e4d
Merge pull request #24718 from kitasuke/SR-10241_string_literal
rintaro May 14, 2019
22e5c55
Merge pull request #24717 from atrick/cache-field-number
atrick May 14, 2019
1a0c785
Merge pull request #24729 from mikeash/fix-isa-mask-assert
mikeash May 14, 2019
2a87b68
Merge pull request #24758 from slavapestov/dynamic-self-in-convenienc…
slavapestov May 14, 2019
1d6aca4
Add regression test that opaque underlying type checking does not loo…
jckarter May 14, 2019
6971335
Switch from using deprecated float3-style names to SIMD3<Float> in ov…
stephentyrone May 14, 2019
8cc013e
Fix LICM debug output typo.
atrick May 12, 2019
0d3c614
Remove RefElementAddr field from AccessedStorage.
atrick May 13, 2019
547ba1c
Intro a request to lazily compute default definition types
xymus May 13, 2019
da442f4
api-digester: remove node comparison cache because it may consume too…
nkcsgexi May 14, 2019
b0005a5
api-digester: disable objc interop when building on linux. SR-10539
nkcsgexi May 14, 2019
a6ff7bd
Merge pull request #24336 from ravikandhadai/oslog-optimization
ravikandhadai May 14, 2019
1525e9b
[Windows] Add initial implementation for TaskQueue
Apr 16, 2019
0de91dc
Merge pull request #23822 from drodriguez/build-script-product-builde…
drodriguez May 14, 2019
05808b9
Merge pull request #24728 from atrick/simplify-accessed-storage-no-rea
swift-ci May 14, 2019
8b217af
[Const Evaluator] Fix a minor bug in the copy constructor deletion of
ravikandhadai May 14, 2019
1d98709
[Test] Add runtime 9999-availability check for a new test in Swift 5.1
bob-wilson May 14, 2019
c1bda8f
Replace AccessedStorage projection with an index.
atrick May 13, 2019
ca34495
Update ARCOptimization.rst (#24724)
0xflotus May 14, 2019
7226dca
benchmark: NIOChannelPipeline imitation
weissi May 14, 2019
331e192
Merge pull request #24726 from LucianoPAlmeida/fix-let-var-warnings
milseman May 14, 2019
7beff30
Merge pull request #24771 from jckarter/opaque-underlying-closure-test
jckarter May 14, 2019
e9384bb
Merge pull request #24540 from benlangmuir/cc-nested-keypath
benlangmuir May 14, 2019
0bb5771
Update .mailmap
shahmishal May 14, 2019
23cd5f0
api-digester: use target triple to check platform info
nkcsgexi May 14, 2019
d4e6b58
Merge pull request #24741 from xymus/default-definition-request
xymus May 14, 2019
28bad2b
Merge pull request #24738 from atrick/simplify-accessed-storage-proj
swift-ci May 14, 2019
53f5c5c
Update NIOChannelPipeline.swift
weissi May 14, 2019
cd88ced
Slightly reword a comment in AccessEnforcementOpts.
atrick May 2, 2019
c08e439
In AccessEnforcementOpts, skip SCC analysis.
atrick May 2, 2019
f7881ee
cmake: specify only one component toolchain-tools for swift-api-digester
nkcsgexi May 14, 2019
003290c
Merge pull request #24777 from bob-wilson/rdar50151131
bob-wilson May 14, 2019
a9070cf
Add AccessEnforcementOpts fast paths.
atrick May 14, 2019
1120617
Remove a stray llvm::dbgs() from compile time debugging.
atrick May 14, 2019
f563212
Revert "[SIL Optimization] Add a mandatory pass for optimizing the ne…
ravikandhadai May 14, 2019
6160545
Merge pull request #24498 from lorentey/nsvalue-availability
bob-wilson May 14, 2019
ae16a74
api-digester: diagnose adding conformances to existing protocols. rda…
nkcsgexi May 14, 2019
64dec31
Merge pull request #24783 from apple/revert-24336-oslog-optimization
swift-ci May 14, 2019
c622f6b
Simplify swift::getInheritedForPrinting to take a PrintOptions
jrose-apple May 14, 2019
def1cca
Don't print extensions to conform to protocols that aren't printed
jrose-apple May 14, 2019
d29d017
Sema: Build type checked bodies for observer setters
slavapestov May 14, 2019
7e15c21
Sema: Use an 'if let' instead of a hasValue/! in lazy property getter
slavapestov May 14, 2019
548e292
Sema: Fold Solution::convertOptionalToBool() into its only remaining …
slavapestov May 14, 2019
fb5c8ce
Sema: Check warning messages in test/Compatibility/attr_override_lazy…
slavapestov May 14, 2019
e65161e
Sema: Build type checked bodies for lazy getters
slavapestov May 14, 2019
d93695f
Sema: Remove support code for building non-type checked accessors
slavapestov May 14, 2019
6e3609d
AST: ProtocolConformanceRef::getTypeWitnessByName() should be an inst…
slavapestov May 14, 2019
7ef557e
Merge pull request #24780 from ravikandhadai/constexpr-refactoring
swift-ci May 14, 2019
8a751bd
Add tests and validate Data and DispatchData as sequences
phausler May 13, 2019
b9a0ca6
[ConstraintSystem] Detect and diagnose conversion failures related to…
xedin May 14, 2019
82928fd
Merge pull request #24464 from brentdax/charmed-interpolations
beccadax May 15, 2019
9be4fef
[SIL Optimization] Add a mandatory optimization pass for optimizing
ravikandhadai Apr 27, 2019
86f9ca7
AST: Add ProtocolConformanceRef::getWitnessByName()
slavapestov May 14, 2019
c141c48
Merge pull request #24797 from slavapestov/more-type-checked-accessors
slavapestov May 15, 2019
5aea131
Add @_disfavoredOverload attribute to affect overload resolution.
DougGregor May 15, 2019
b0f6168
[libSyntax] Represent raw string delimiters
May 14, 2019
dce879f
Revert "[Foundation] Fix availability of NSValue.value(of:)"
beccadax May 15, 2019
8ba2997
Merge pull request #24802 from apple/revert-24498-nsvalue-availability
beccadax May 15, 2019
c31f378
Merge pull request #24765 from weissi/jw-nio-cp-benchmark
swift-ci May 15, 2019
d1cc713
Merge pull request #23793 from phausler/data_mapped_perf_bug
swift-ci May 15, 2019
fa778ec
Deprecate nearbyint and rint on CGFloat (#24784)
stephentyrone May 15, 2019
a1aab6a
Add test for batch mode with -driver-force-response-files.
allevato May 15, 2019
60ee952
Merge pull request #24776 from nkcsgexi/digester-fix
nkcsgexi May 15, 2019
9ac6fe0
vim: highlight `lazy`
compnerd May 15, 2019
affcefc
[ASTMangler] Mangle nested imported error structs correctly
beccadax May 15, 2019
cec9e9e
Opaque types require a newer Swift runtime.
jckarter May 15, 2019
1f15c87
Added missing Linux POSIX errors
colemancda May 15, 2019
dbfb163
Merge pull request #24055 from alexshap/task_queue_windows
compnerd May 15, 2019
924c519
Merge pull request #24803 from compnerd/lazy-update
swift-ci May 15, 2019
14d2f7c
[CodeCompletion] Enable context type analysis for implict member expr…
rintaro May 15, 2019
1ac8da5
Merge pull request #24785 from jansvoboda11/syntax-raw-string-delimiters
rintaro May 15, 2019
2ee371b
Merge pull request #24791 from xedin/diag-collection-element-conversions
xedin May 15, 2019
aa6827a
Merge pull request #24796 from ravikandhadai/oslog-optimization
swift-ci May 15, 2019
dccd6eb
[silgen] Change ManagedValue::copyInto to have same paramter order as…
gottesmm May 15, 2019
7448507
Sema: Fix 'for ... in ...' over a sequence of DynamicSelfType
slavapestov Jan 11, 2019
e39d236
Sema: Simplify for ... in ... type checking
slavapestov Jan 11, 2019
1cc6f77
[ConstraintSystem] Improve contextual mismatch diagnostics for `for .…
xedin May 15, 2019
60cd149
Merge pull request #24807 from gottesmm/pr-d6e03ac4b40242824de24a323b…
swift-ci May 15, 2019
36024b6
Merge pull request #24804 from brentdax/erroneously-mangled-error-man…
beccadax May 15, 2019
165133e
Merge pull request #24799 from DougGregor/disfavored-overload-attr
DougGregor May 15, 2019
4341a7b
Driver: use `-Xlinker` rather than `-Wl` (NFC)
compnerd May 15, 2019
90859ad
[Type checker] Fix assertion/spin with ill-formed property delegate i…
DougGregor May 15, 2019
3e30d43
tests: disable check_class_for_archiving checks for older OSes
eeckstein May 15, 2019
6caedcd
Merge pull request #24788 from apple/command-p
jrose-apple May 16, 2019
99caadf
api-digester: avoid looking up node update table to collect renamed d…
nkcsgexi May 16, 2019
5b5d342
[CodeCompletion] Enable call signature completion for unresolved member
rintaro May 15, 2019
557505d
[CodeCompletion] Look through ApplyExpr to get referenced decl
rintaro May 15, 2019
e9e5134
[CodeCompletion] Add test cases for call arg completion
rintaro May 15, 2019
21b47fb
Merge pull request #24814 from DougGregor/property-delegate-bad-init-…
swift-ci May 16, 2019
0be95f5
Merge pull request #24798 from jckarter/opaque-type-check-availability
jckarter May 16, 2019
3c25d99
Merge pull request #24806 from colemancda/posixErrorLinux
swift-ci May 16, 2019
1e71185
Merge pull request #24805 from rintaro/ide-completion-unresolvedarg-r…
rintaro May 16, 2019
52fab94
Merge pull request #24812 from compnerd/x-marks-the-spot
compnerd May 16, 2019
2ade303
IRGen: Weak-link opaque type entry points.
jckarter May 16, 2019
7a99da3
Merge pull request #24817 from nkcsgexi/digester-avoid-update
nkcsgexi May 16, 2019
30be693
Merge pull request #24808 from xedin/cleaner-foreach
xedin May 16, 2019
d22a405
Merge pull request #24822 from jckarter/opaque-type-runtime-weak-link
jckarter May 16, 2019
8c44da1
Merge pull request #24815 from eeckstein/fix-tests
eeckstein May 16, 2019
5191b03
Merge pull request #24008 from allevato/batch-mode-response-files
jrose-apple May 16, 2019
9647483
Warn when using '@_implementationOnly' inconsistently in a module (#2…
jrose-apple May 16, 2019
868156c
Merge pull request #24773 from atrick/fix-accessopt-slow
atrick May 16, 2019
3b4bb19
@_implementationOnly: fix over-eager checking for vars in extensions …
jrose-apple May 16, 2019
103bdb3
Merge branch 'master' of github.com:apple/swift into tensorflow
rxwei May 17, 2019
cda7877
Remove all TF runtime function declarations.
rxwei May 17, 2019
7a55942
Fix parameter nondifferentiability compilation.
rxwei May 17, 2019
971652f
Adapt type checking code to new `getTypeWitnessByName` API.
rxwei May 17, 2019
175de29
Adapt Attr.def.
rxwei May 17, 2019
034de60
Fix SourceKit cmake file.
rxwei May 17, 2019
63f8211
Update checkout.
rxwei May 17, 2019
3727a20
Merge branch 'tensorflow' of github.com:apple/swift into tensorflow-m…
rxwei May 17, 2019
ec7ca0a
Fix a bug where indirect pullback argument buffers are begin mutated.
rxwei May 18, 2019
6bbc90e
Update checkout for swift-lldb.
rxwei May 18, 2019
0266c0d
Fix dynamic callable.
rxwei May 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 2 additions & 7 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ Daniel Duan <[email protected]> <[email protected]>
Dante Broggi <[email protected]>
Dave <[email protected]>
Dave Abrahams <[email protected]> <[email protected]>
Dave Abrahams <[email protected]> <[email protected]>
Dave Abrahams <[email protected]> <[email protected]>
Dave Abrahams <[email protected]> <[email protected]>
Dave Lee <[email protected]> <[email protected]>
David Rönnqvist <[email protected]> <[email protected]>
David Rönnqvist <[email protected]>
David Rönnqvist <[email protected]> <[email protected]>
David Rönnqvist <[email protected]>
David Ungar <[email protected]> <[email protected]>
David Zarzycki <[email protected]> <[email protected]>
David Zarzycki <[email protected]> <[email protected]>
Expand All @@ -43,10 +42,8 @@ Davide Italiano <[email protected]> <[email protected]>
Davide Italiano <[email protected]> <[email protected]>
Dmitri Gribenko <[email protected]> <[email protected]>
Doug Coleman <[email protected]> <[email protected]>
Enrico Granata <[email protected]> <[email protected]>
Enrico Granata <[email protected]> <[email protected]>
Erik Eckstein <[email protected]>
Erik Eckstein <[email protected]> <[email protected]>
Erik Verbruggen <[email protected]> <[email protected]>
Ewa Matejska <[email protected]>
Ewa Matejska <[email protected]> <[email protected]>
Expand Down Expand Up @@ -130,15 +127,13 @@ Ross Bayer <[email protected]>
Russ Bishop <[email protected]> <[email protected]>
Ryan Lovelett <[email protected]> <[email protected]>
Shawn Erickson <[email protected]> <[email protected]>
Slava Pestov <[email protected]> <[email protected]>
Slava Pestov <[email protected]> <[email protected]>
Stephen Canon <[email protected]>
Stephen Canon <[email protected]> <[email protected]>
Sukolsak Sakshuwong <[email protected]>
Todd Fiala <[email protected]> <[email protected]>
Toni Suter <[email protected]> <[email protected]>
Vedant Kumar <[email protected]> <[email protected]>
Xi Ge <[email protected]> <[email protected]>
Xin Tong <[email protected]> <[email protected]>
Xin Tong <[email protected]> <[email protected]>
Yuka Ezura <[email protected]> <[email protected]>
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ Swift 5.1
}
```

* `weak` and `unowned` stored properties no longer inhibit the
* [SR-9827][]:

`weak` and `unowned` stored properties no longer inhibit the
automatic synthesis of `Equatable` or `Hashable` conformance.

* [SR-2688][]:
Expand Down Expand Up @@ -7695,3 +7697,4 @@ Swift 1.0
[SR-8109]: <https://bugs.swift.org/browse/SR-8109>
[SR-8546]: <https://bugs.swift.org/browse/SR-8546>
[SR-9043]: <https://bugs.swift.org/browse/SR-9043>
[SR-9827]: <https://bugs.swift.org/browse/SR-9827>
37 changes: 28 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ option(SWIFT_INCLUDE_DOCS
"Create targets for building docs."
TRUE)

set(_swift_include_apinotes_default FALSE)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(_swift_include_apinotes_default TRUE)
endif()

option(SWIFT_INCLUDE_APINOTES
"Create targets for installing the remaining apinotes in the built toolchain."
${_swift_include_apinotes_default})

#
# Miscellaneous User-configurable options.
#
Expand All @@ -118,7 +127,7 @@ set_property(CACHE SWIFT_ANALYZE_CODE_COVERAGE PROPERTY
# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
# can be reused when a new version of Swift comes out (assuming the user hasn't
# manually set it as part of their own CMake configuration).
set(SWIFT_VERSION "5.0")
set(SWIFT_VERSION "5.1")

set(SWIFT_VENDOR "" CACHE STRING
"The vendor name of the Swift compiler")
Expand Down Expand Up @@ -257,9 +266,15 @@ option(SWIFT_RUNTIME_CRASH_REPORTER_CLIENT
set(SWIFT_DARWIN_XCRUN_TOOLCHAIN "XcodeDefault" CACHE STRING
"The name of the toolchain to pass to 'xcrun'")

set(SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR "@rpath" CACHE STRING
set(SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR "/usr/lib/swift" CACHE STRING
"The directory of the install_name for standard library dylibs")

# We don't want to use the same install_name_dir as the standard library which
# will be installed in /usr/lib/swift. These private libraries should continue
# to use @rpath for now.
set(SWIFT_DARWIN_STDLIB_PRIVATE_INSTALL_NAME_DIR "@rpath" CACHE STRING
"The directory of the install_name for the private standard library dylibs")

set(SWIFT_DARWIN_DEPLOYMENT_VERSION_OSX "10.9" CACHE STRING
"Minimum deployment target version for OS X")

Expand Down Expand Up @@ -1062,16 +1077,20 @@ endif()
# created. This then will cause SwiftSyntax to fail to build.
#
# https://bugs.swift.org/browse/SR-5975
add_subdirectory(stdlib)

if(SWIFT_BUILD_SDK_OVERLAY)
list_intersect("${SWIFT_APPLE_PLATFORMS}" "${SWIFT_SDKS}"
building_darwin_sdks)
if(building_darwin_sdks)
add_subdirectory(apinotes)
if(SWIFT_BUILD_STDLIB)
add_subdirectory(stdlib)
else()
# Some tools (e.g. swift-reflection-dump) rely on a host swiftReflection, so
# ensure we build that when building tools.
if(SWIFT_INCLUDE_TOOLS)
add_subdirectory(stdlib/public/Reflection)
endif()
endif()

if(SWIFT_INCLUDE_APINOTES)
add_subdirectory(apinotes)
endif()

add_subdirectory(include)

if(SWIFT_INCLUDE_TOOLS)
Expand Down
8 changes: 2 additions & 6 deletions apinotes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ add_custom_command(
COMMAND
"${CMAKE_COMMAND}" "-E" "copy_if_different" ${inputs} "${output_dir}/")

add_custom_target("copy_apinotes"
add_custom_target("copy_apinotes" ALL
DEPENDS "${outputs}" "${output_dir}"
COMMENT "Copying API notes to ${output_dir}"
SOURCES "${sources}")

# This is treated as an OPTIONAL target because if we don't build the SDK
# overlay, the files will be missing anyway. It also allows us to build
# single overlays without installing the API notes.
swift_install_in_component(DIRECTORY "${output_dir}"
DESTINATION "lib/swift/"
COMPONENT sdk-overlay
OPTIONAL)
COMPONENT compiler)
2 changes: 2 additions & 0 deletions benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ set(SWIFT_BENCH_MODULES
single-source/Hash
single-source/Histogram
single-source/InsertCharacter
single-source/IntegerParsing
single-source/Integrate
single-source/IterateData
single-source/Join
Expand All @@ -107,6 +108,7 @@ set(SWIFT_BENCH_MODULES
single-source/NSError
single-source/NSStringConversion
single-source/NibbleSort
single-source/NIOChannelPipeline
single-source/NopDeinit
single-source/ObjectAllocation
single-source/ObjectiveCBridging
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/AngryPhonebook.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public let AngryPhonebook = BenchmarkInfo(
tags: [.validation, .api, .String],
legacyFactor: 7)

var words = [
let words = [
"James", "John", "Robert", "Michael", "William", "David", "Richard", "Joseph",
"Charles", "Thomas", "Christopher", "Daniel", "Matthew", "Donald", "Anthony",
"Paul", "Mark", "George", "Steven", "Kenneth", "Andrew", "Edward", "Brian",
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/AnyHashableWithAClass.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import TestsUtils
// 11% _swift_stdlib_makeAnyHashableUpcastingToHashableBaseType
// 16% _swift_retain_[n]
// 5% swift_conformsToProtocol
public var AnyHashableWithAClass = BenchmarkInfo(
public let AnyHashableWithAClass = BenchmarkInfo(
name: "AnyHashableWithAClass",
runFunction: run_AnyHashableWithAClass,
tags: [.abstraction, .runtime, .cpubench],
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/ArrayOfGenericPOD.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public func run_ArrayOfGenericPOD(_ N: Int) {

// --- ArrayInitFromSlice

var globalArray = Array<UInt8>(repeating: 0, count: 4096)
let globalArray = Array<UInt8>(repeating: 0, count: 4096)

func createArrayOfPOD() {
blackHole(globalArray)
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/ArraySetElement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import TestsUtils
// 33% isUniquelyReferenced
// 15% swift_rt_swift_isUniquelyReferencedOrPinned_nonNull_native
// 18% swift_isUniquelyReferencedOrPinned_nonNull_native
public var ArraySetElement = BenchmarkInfo(
public let ArraySetElement = BenchmarkInfo(
name: "ArraySetElement",
runFunction: run_ArraySetElement,
tags: [.runtime, .cpubench]
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/ChainedFilterMap.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TestsUtils

public var ChainedFilterMap = [
public let ChainedFilterMap = [
BenchmarkInfo(name: "ChainedFilterMap", runFunction: run_ChainedFilterMap,
tags: [.algorithm], setUpFunction: { blackHole(first100k) },
legacyFactor: 9),
Expand Down
2 changes: 1 addition & 1 deletion benchmark/single-source/Chars.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public let Chars = BenchmarkInfo(
setUpFunction: { blackHole(alphabetInput) },
legacyFactor: 50)

var alphabetInput: [Character] = [
let alphabetInput: [Character] = [
"A", "B", "C", "D", "E", "F", "G",
"H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R",
"S", "T", "U",
Expand Down
23 changes: 6 additions & 17 deletions benchmark/single-source/ExistentialPerformance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,6 @@ func caRef1() { ca(Ref1.self) }
func caRef2() { ca(Ref2.self) }
func caRef3() { ca(Ref3.self) }
func caRef4() { ca(Ref4.self) }
@inline(never)
func grabArray() -> [Existential] { // transfer array ownership to caller
// FIXME: This is causing Illegal Instruction: 4 crash
// defer { array = nil }
// return array
// This doesn't work either:
// let a = array!
// array = nil
// return a
return array!
}

// `setUpFunctions` that determine which existential type will be tested
var existentialType: Existential.Type!
Expand Down Expand Up @@ -540,7 +529,7 @@ func run_Array_init(_ N: Int) {
}

func run_Array_method1x(_ N: Int) {
let existentialArray = grabArray()
let existentialArray = array!
for _ in 0 ..< N * 100 {
for elt in existentialArray {
if !elt.doIt() {
Expand All @@ -551,7 +540,7 @@ func run_Array_method1x(_ N: Int) {
}

func run_Array_method2x(_ N: Int) {
let existentialArray = grabArray()
let existentialArray = array!
for _ in 0 ..< N * 100 {
for elt in existentialArray {
if !elt.doIt() || !elt.reallyDoIt() {
Expand All @@ -562,8 +551,8 @@ func run_Array_method2x(_ N: Int) {
}

func run_ArrayMutating(_ N: Int) {
var existentialArray = grabArray()
for _ in 0 ..< N * 100 {
var existentialArray = array!
for _ in 0 ..< N * 500 {
for i in 0 ..< existentialArray.count {
if !existentialArray[i].mutateIt() {
fatalError("expected true")
Expand All @@ -573,7 +562,7 @@ func run_ArrayMutating(_ N: Int) {
}

func run_ArrayShift(_ N: Int) {
var existentialArray = grabArray()
var existentialArray = array!
for _ in 0 ..< N * 25 {
for i in 0 ..< existentialArray.count-1 {
existentialArray.swapAt(i, i+1)
Expand All @@ -582,7 +571,7 @@ func run_ArrayShift(_ N: Int) {
}

func run_ArrayConditionalShift(_ N: Int) {
var existentialArray = grabArray()
var existentialArray = array!
for _ in 0 ..< N * 25 {
for i in 0 ..< existentialArray.count-1 {
let curr = existentialArray[i]
Expand Down
17 changes: 3 additions & 14 deletions benchmark/single-source/ExistentialPerformance.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Setup = """
let existential = existentialType.init()
let existential2 = existentialType.init()
var existential = existentialType.init()
let existentialArray = grabArray()
var existentialArray = grabArray()
let existentialArray = array!
var existentialArray = array!
""".splitlines()
Setup = [Setup[0], Setup[1], '\n'.join(Setup[1:3]), Setup[3], Setup[4], Setup[5]]

Expand Down Expand Up @@ -90,7 +90,7 @@ Workloads = [
}
}
"""),
('Array.Mutating', Setup[5], '100', """
('Array.Mutating', Setup[5], '500', """
for i in 0 ..< existentialArray.count {
if !existentialArray[i].mutateIt() {
fatalError("expected true")
Expand Down Expand Up @@ -151,17 +151,6 @@ func ca<T: Existential>(_: T.Type) {
% for Variant in Vals + Refs:
func ca${Variant}() { ca(${Variant}.self) }
% end
@inline(never)
func grabArray() -> [Existential] { // transfer array ownership to caller
// FIXME: This is causing Illegal Instruction: 4 crash
// defer { array = nil }
// return array
// This doesn't work either:
// let a = array!
// array = nil
// return a
return array!
}

// `setUpFunctions` that determine which existential type will be tested
var existentialType: Existential.Type!
Expand Down
6 changes: 3 additions & 3 deletions benchmark/single-source/Hash.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Hash {
final
class MD5 : Hash {
// Integer part of the sines of integers (in radians) * 2^32.
var k : [UInt32] = [0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee ,
let k : [UInt32] = [0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee ,
0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501 ,
0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be ,
0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821 ,
Expand All @@ -145,7 +145,7 @@ class MD5 : Hash {
0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391 ]

// Per-round shift amounts
var r : [UInt32] = [7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22,
let r : [UInt32] = [7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22,
5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20,
4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23,
6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]
Expand Down Expand Up @@ -433,7 +433,7 @@ class SHA256 : Hash {
var h6: UInt32 = 0
var h7: UInt32 = 0

var k : [UInt32] = [
let k : [UInt32] = [
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
Expand Down
Loading