Pavel Yaskevich
f9e08bc6ec
Merge pull request #76174 from xedin/remodel-constraint-generation-for-assignment
...
[ConstraintSystem] Introduce `LValueObject` constraint to replace direct l-value assignments
2024-09-04 09:27:59 -07:00
Slava Pestov
5a43d2403e
Sema: Simplify opened existential types in solution
2024-09-04 10:42:19 -04:00
swift-ci
e092119807
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-04 07:14:03 -07:00
Hamish Knight
3b0d692b30
[test] Restrict complete_sdk_platform.swift to macOS
...
rdar://135232586
2024-09-04 10:26:23 +01:00
swift-ci
5116eda564
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-03 16:14:13 -07:00
Hamish Knight
142daacd61
[test] Re-enable expectation in complete_sdk_platform.swift
...
rdar://134963605
2024-09-03 18:40:51 +01:00
swift-ci
a4cffa96e4
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-03 10:34:34 -07:00
Hamish Knight
350c1ce771
Merge pull request #76222 from hamishknight/xfactor
...
[test] NFC: Factor out `%xcode-extra-platform-search-paths`
2024-09-03 18:21:39 +01:00
Hamish Knight
4f1bebf598
[test] NFC: Factor out %xcode-extra-platform-search-paths
2024-09-03 14:19:59 +01:00
swift-ci
0a19be5d95
Merge remote-tracking branch 'origin/main' into rebranch
2024-09-03 04:34:14 -07:00
Erik Eckstein
6c46d03601
tests: reduce the timeout of SILOptimizer/large_nested_array.swift.gyb again
...
It turns out that some CI jobs need 5-6 minutes for this test. To give some slack, use a timeout of 10 minutes.
This is a follow-up of https://github.com/swiftlang/swift/pull/76146
2024-09-03 09:26:31 +02:00
swift-ci
bc515098a3
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-30 22:14:01 -07:00
nate-chandler
9ee877943e
Merge pull request #76186 from nate-chandler/rdar133779160
...
[ODL] Handle builtins.
2024-08-30 21:54:08 -07:00
Nate Chandler
5d9802f25f
[ODL] Handle builtins.
...
No update is needed for the values they produce. This pass should
really be refactored not to crash on instructions that aren't explicitly
listed or at least not to compile if not every instruction is listed.
rdar://133779160
2024-08-30 16:09:11 -07:00
Pavel Yaskevich
dab01bc1fe
[Tests] NFC: Update some of the changed/improved tests
2024-08-30 15:39:25 -07:00
swift-ci
3c49138928
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-29 18:34:15 -07:00
Hamish Knight
17b143cd99
Merge pull request #76156 from hamishknight/fix-test
...
[test] Temporarily remove a check from complete_sdk_platform.swift
2024-08-30 02:23:36 +01:00
swift-ci
229f81a516
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-29 14:34:05 -07:00
Ben Langmuir
d94bce7355
Merge pull request #76027 from benlangmuir/explicit-targets
...
[test] Add explicit targets to tests depending on the default
2024-08-29 14:25:05 -07:00
Hamish Knight
51dcc9e0b9
[test] Temporarily remove a check from complete_sdk_platform.swift
2024-08-29 22:19:05 +01:00
swift-ci
fd6a875975
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-29 11:55:41 -07:00
Ben Langmuir
7d11d43d6d
[test] Add explicit targets to tests depending on the default
...
Add specific deployment target versions to some tests that need to test
10.x-specific behaviours and are currently depending on the default
deployment target.
Certain tests were only checking either the stable or unstable ABI
depending on the platform the test was running. In those cases I doubled
up the checks so that we would test both cases on platforms that
supported it. This might use a bit of extra time on targets that only
support the stable ABI, but it seemed worth it for the additional
coverage in CI.
2024-08-29 07:55:14 -07:00
Mike Ash
eead3fa921
[Test] Temporarily increase large_nested_array.swift.gyb timeout to 2400 seconds while we investigate timeouts in CI.
2024-08-29 09:07:52 -04:00
swift-ci
05354cab9a
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-27 22:13:30 -07:00
nate-chandler
c56a313d6c
Merge pull request #76114 from nate-chandler/rdar133969821_2
...
[DAH] Bail on pointer use if ignoring barriers.
2024-08-27 21:57:39 -07:00
Nate Chandler
74c4bc9c55
[DAH] Bail on pointer use if ignoring barriers.
...
Unknown uses of raw pointers should not result in bailing out when an
address is lexical--the destroy of the address will already not be
hoisted over any instructions which may access pointers. If the address
is not lexical however (such as any address when lexical lifetimes are
disabled), that rationale does not apply, so unknown uses of raw
pointers must cause hoisting to bail.
rdar://133969821
2024-08-27 16:18:39 -07:00
swift-ci
e473b6f53b
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-27 15:33:41 -07:00
Erik Eckstein
c1c3f76885
tests: fix SILOptimizer/rdar114699006.swift after a mangling change
...
Also enable this test for all 64 bit platforms, like arm64
2024-08-27 20:04:37 +02:00
swift-ci
97f2c34604
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-27 08:14:27 -07:00
Hamish Knight
940f5f7c2a
[AST] Treat platform modules as non-user
...
Modules defined within the SDK are considered
non-user modules, extend this to any module found
within the parent platform directory if there is
one. This ensures we include modules such as
XCTest and Testing.
rdar://131854240
2024-08-23 14:23:37 +01:00
Becca Royal-Gordon
fd84e7273d
Rename module.map -> module.modulemap in tests
...
The legacy `module.map` spelling of module map files was deprecated by llvm/llvm-project#75142 and clang expects to remove support for them in the future. Switch all tests to use the supported spelling.
Fixes rdar://128431478.
2024-08-12 17:47:26 -07:00
Ben Barham
df81d0a450
[Tests] XFAIL the remaining test failures on rebranch
...
Only a few tests remaining. XFAIL so we can test the rest of the
toolchain.
2024-08-08 14:47:18 -07:00
swift-ci
6172e1dc44
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-07 17:34:15 -07:00
Alex Hoppen
8edb57c756
Merge pull request #75667 from ahoppen/build-issues-live-issues
...
[Sema/SourceKit] Emit same diagnostics for missing protocol requirements on the command line and in SourceKit
2024-08-07 17:24:47 -07:00
swift-ci
04d8b3e7a2
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-07 17:15:02 -07:00
Slava Pestov
2925d4659b
Merge pull request #75756 from slavapestov/fix-issue-74569
...
SIL: Fix signature of reabstraction thunk involving parameterized existential
2024-08-07 20:14:03 -04:00
Alex Hoppen
66104395d7
[Sema/SourceKit] Emit same diagnostics for missing protocol requirements on the command line and in SourceKit
...
Some editors use diagnostics from SourceKit to replace build issues. This causes issues if the diagnostics from SourceKit are formatted differently than the build issues. Make sure they are rendered the same way, removing most uses of `DiagnosticsEditorMode`.
To do so, always emit the `add stubs for conformance` note (which previously was only emitted in editor mode) and remove all `; add <something>` suffixes from notes that state which requirements are missing.
rdar://129283608
2024-08-07 14:01:30 -07:00
Slava Pestov
de16ed8d27
SIL: Fix signature of reabstraction thunk involving parameterized existential
...
Fixes https://github.com/swiftlang/swift/issues/74569
Fixes rdar://problem/130402282
2024-08-07 15:25:52 -04:00
swift-ci
cb245d1e55
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-07 09:17:37 -07:00
Ben Barham
7bdf1e117e
Merge remote-tracking branch 'origin/main' into manually-merge-main-to-rebranch
...
Conflicts:
- `lib/PrintAsClang/PrintSwiftToClangCoreScaffold.cpp` not positive
what the cause here was, just took main.
2024-08-06 13:44:27 -07:00
Ryan Mansfield
35fb08790b
Use num_extra_inhabitants_64bit to fix reflect_CheckedContinuation.swift and
...
reflect_UnsafeContinuation.swift on non-Darwin platforms.
2024-08-06 16:05:55 -04:00
Holly Borla
93191020bc
Merge pull request #75687 from hborla/sendable-param-diagnostics
...
[Concurrency] Split up the non-`Sendable` diagnostics and improve wording.
2024-08-05 21:21:33 -07:00
Holly Borla
7dbec846f7
[NFC] Update a few tests for concurrency diagnostics changes.
2024-08-05 17:26:07 -07:00
Tim Kientzle
1aae57a93f
Suppress these tests under "asan", not "ASAN"
2024-08-05 14:24:23 -07:00
Tim Kientzle
661f368c6b
Merge pull request #75620 from tbkka/tbkka-remotemirror-checkedcontinuation
...
Basic test for RemoteMirror reflecting checked continuations
2024-08-05 11:33:28 -07:00
swift-ci
2a7957d0f0
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-04 10:14:37 -07:00
Slava Pestov
293a36c052
SIL: Pass SubstFlags::PreservePackExpansionLevel in a spot in SILVerifier
2024-08-03 22:40:49 -04:00
swift-ci
c61c38c920
Merge remote-tracking branch 'origin/main' into rebranch
2024-08-03 15:14:42 -07:00
Slava Pestov
cee13f8a9c
Merge pull request #75653 from slavapestov/regression-test-70429
...
Add regression test for bug already fixed
2024-08-03 18:08:32 -04:00
Slava Pestov
ccc206d8c4
Add regression test for bug already fixed
2024-08-03 15:06:43 -04:00