sort by:
Revision Author Date Message Commit Date
ca5acf3 Merge pull request #64412 from tshortli/relax-unsafe-main-actor-availability-checking Sema: Relax availability checking for `@MainActor` 17 March 2023, 02:38:31 UTC
05d8e62 Merge pull request #64431 from slavapestov/add-requires-asserts-to-test Add 'REQUIRES: asserts' to new test because -eanble-experimental-feature is disabled in noassert builds 17 March 2023, 02:15:28 UTC
6ffbd75 Merge pull request #64445 from rintaro/cmake-swiftimplictimport 17 March 2023, 02:05:20 UTC
3644d98 Merge pull request #64400 from nate-chandler/copy-propagation/run-side-effect-analysis-first CopyPropagation: Compute side-effects first. 17 March 2023, 01:17:39 UTC
1f3623d Merge pull request #64339 from nate-chandler/copy-propagation/redundant-move-elim [CopyPropagation] Eliminate redundant moves. 17 March 2023, 00:02:25 UTC
5964bf2 Merge pull request #64434 from gottesmm/pr-82dd301a9c8e2b6fb947d5fa43dbb8dc282ff4e2 [move-only] Change global_addr assignable_but_not_consumable accesses such that they are initialized at end of lifetime. 16 March 2023, 23:23:42 UTC
f853e8f Merge pull request #64437 from AtariDreams/std Prefer std::copy_n over std::copy where appropriate. 16 March 2023, 23:16:19 UTC
d28e1c9 [CMake] Fix swift_supports_implicit_module failure swift_supports_implicit_module invokes /path/to/toolchain/usr/bin/swiftc directly without using `xcrun`. That fails to set necessary environmental variables to make swiftc infer the SDK path. Because of that swift_supports_implicit_module used to fail because the test compilation fails to load the stdlib. This PR workaround it by passing `-parse-stdlib` to avoid implicit stdlib loading. 16 March 2023, 23:13:50 UTC
26c0d0a Merge pull request #64433 from xedin/remove-old-result-builder-impl [BuilderTransform] NFC: Remove original result builder implementation 16 March 2023, 23:12:53 UTC
9adbe3f Merge pull request #64399 from meg-gupta/looprotateguaranteedphi Enable LoopRotate on header blocks with forwarding instructions 16 March 2023, 22:26:30 UTC
e137b32 Merge pull request #64409 from bnbarham/add-link-path [CMake] Add lib to swift host libraries link directories 16 March 2023, 21:42:20 UTC
fb03b4a Sema: Relax availability checking for `@MainActor`. The `@MainActor` global actor constraint on a declaration does not carry an inherent ABI impact and therefore use of this constraint should not be limited to OS versions where Swift concurrency is available. Resolves rdar://105610970 16 March 2023, 21:23:36 UTC
8fa394f Merge pull request #64435 from tshortli/disable-assume-actor-test-windows Disable `distributed_actor_assume_executor.swift` 16 March 2023, 20:30:44 UTC
8d06ca7 Prefer std::copy_n over std::copy where appropriate. std::copy_n saves us from having to do the addition manually. 16 March 2023, 20:25:51 UTC
b2a1e16 Disable distributed_actor_assume_executor.swift because it is failing on Windows. 16 March 2023, 20:17:07 UTC
ade29db CopyPropagation: Compute side-effects first. Add a run of ComputeSideEffects before the first run of CopyPropagation. Allow hoisting over applies of functions that are able to be analyzed not to be deinit barriers at this early point. 16 March 2023, 20:01:05 UTC
3e79583 Merge pull request #64404 from xymus/access-level-import-tests [Sema] Reenable two access-level on imports tests 16 March 2023, 19:56:33 UTC
bb2a2e8 [Compile Time Constant Extraction] Look through InjectIntoOptionalExpr (#64416) 16 March 2023, 19:42:22 UTC
6f31afb Merge pull request #64427 from al45tair/eng/PR-106813646 [Backtracing] Disable the warning about not finding swift-backtrace. 16 March 2023, 19:32:09 UTC
3de646e [move-only] Change global_addr assignable_but_not_consumable accesses such that they are initialized at end of lifetime. I also added an interpreter test that validates that ref_element_addr works as expected (I fixed that in an earlier commit, but did not add an interpreter test). rdar://106724277 16 March 2023, 19:28:59 UTC
beecdc8 Merge pull request #64432 from apple/es-fix Add REQUIRES to package-name-diagnostics test 16 March 2023, 19:27:33 UTC
be56f4d Add REQUIRES to package-name-diagnostics test 16 March 2023, 18:53:21 UTC
f33d686 Add 'REQUIRES: asserts' to new test because -eanble-experimental-feature is disabled in noassert builds 16 March 2023, 18:46:23 UTC
1845b44 [BuilderTransform] NFC: Inline now redundant base class into `ResultBuilderTransform` 16 March 2023, 18:22:37 UTC
f8aaf18 Merge pull request #64419 from mhjacobson/freebsd-implement-POSIXErrorCode stdlib: implement POSIXErrorCode for FreeBSD 16 March 2023, 18:14:56 UTC
1208d32 Merge pull request #64356 from nate-chandler/rdar106224845 [Mem2Reg] Instantiate arbitrary empty types. 16 March 2023, 17:56:23 UTC
93ea9a0 [BuilderTransform] NFC: Remove previous result builder implementation 16 March 2023, 17:51:46 UTC
ed9e2d6 Merge pull request #64398 from xedin/rdar-106621760 [CSDiagnostics] Ignore placeholder types that appear in editor placeh… 16 March 2023, 17:22:20 UTC
c088196 Merge pull request #64365 from buttaface/icu-rpath [build] Remove runpath from build host from shared ICU libraries on linux 16 March 2023, 17:21:30 UTC
725d2e1 [Backtracing] Disable the warning about not finding swift-backtrace. This needs to be disabled for now. We'll re-enable it later. rdar://106813646 16 March 2023, 17:13:10 UTC
531dd3a Merge pull request #64420 from rjmccall/silgen-variadic-abstraction-changes Improve how we work with pack-expansion abstraction patterns in SILGen 16 March 2023, 16:31:34 UTC
8ddbc68 Add missed vjp / jvp functions for floating-point constructors (#64417) Fixes #64406 16 March 2023, 15:38:39 UTC
c6508a4 Merge pull request #64415 from slavapestov/reduced-type-of-pack-expansion RequirementMachine: The reduced type of a PackExpansionType has a reduced *shape* for the count type 16 March 2023, 11:46:21 UTC
8db7d71 Merge pull request #64271 from ktoso/wip-assert-executor-distributed [Executors][Distributed] assumeOnLocalDistributedActorExecutor 16 March 2023, 06:37:06 UTC
f3e7daf [NFC] Remove the now-dead PackExpanded accessors from AbstractionPattern 16 March 2023, 05:38:46 UTC
4499e3d [NFC] Introduce new APIs for traversing orig/subst parameters in parallel 16 March 2023, 05:38:46 UTC
2febbb4 stdlib: implement POSIXErrorCode for FreeBSD It shares many of the same values as OpenBSD (which both inherited from 4.4BSD), and we wouldn't expect those to diverge due to the respective platforms' bincompat goals. 16 March 2023, 05:20:56 UTC
5d2a311 [Executors] assumeOnLocalDistributedActorExecutor (isolated Act) -> 16 March 2023, 04:23:47 UTC
d524c7d Use correct parallel destructuring when lowering tuple types. 16 March 2023, 04:19:31 UTC
9ab4dc4 [NFC] Add better APIs for parallel destructuring of orig+subst types As I've been iterating on this work, I've been gradually mulling these over, and I think this is the way to go for now. These should make it a lot less cumbersome to write these kinds of traversals correctly. The intent is to the sunset the existing expanded-components stuff after I do a similar pass for function parameters. 16 March 2023, 04:19:30 UTC
2fa344b AST: Tweak some variadic generic diagnostics 16 March 2023, 03:04:50 UTC
a5cf7d3 RequirementMachine: The reduced type of a PackExpansionType has a reduced *shape* for the count type I don't have a test case for this but it was bound to come up eventually. 16 March 2023, 03:04:50 UTC
0bece01 Merge pull request #64410 from apple/azharudd-disable-stdlib-NSStringAPI.swift Temporarily disable test stdlib/NSStringAPI.swift 16 March 2023, 02:55:49 UTC
4d981e3 Merge pull request #63904 from LucianoPAlmeida/ambiguous-overload [Sema] Diagnose function coercion ambiguity 16 March 2023, 02:18:00 UTC
4700f81 Merge pull request #64403 from rjmccall/interface-shape-type-in-environments [NFC] Store the interface shape type in an opened element environment 16 March 2023, 01:03:41 UTC
082ae8e Merge pull request #64396 from slavapestov/unxfail-test-on-windows-yay This test now passes on Windows 16 March 2023, 00:26:34 UTC
f964104 Temporarily disable test stdlib/NSStringAPI.swift It is taking too long to execute. 16 March 2023, 00:00:24 UTC
4186d62 [CMake] Add lib to swift host libraries link directories Our libraries have a `LC_LINKER_OPTION` for eg. `-lswiftLLVMJSON`. This is resolved (probably just based on the actual libswiftLLVMJSON.a added to the link command) by ld, but not by lld. Add in a link directory so that these libraries can be found. 15 March 2023, 23:55:01 UTC
e5cc116 Merge pull request #64395 from zoecarver/user/zoecarver/97361196-take-two [cxx-interop] Add debug dump when we hit The Flakey Issue™. 15 March 2023, 23:41:33 UTC
aeab985 Merge pull request #64390 from hborla/noescape-value-packs [ConstraintSystem] Allow type variables for pack expansion patterns to bind to `noescape`. 15 March 2023, 22:45:28 UTC
a305fde Merge pull request #64391 from hyp/eng/no-aeic-var [interop][SwiftToCxx] do not expose @alwaysEmitIntoClient properties to C++ 15 March 2023, 22:06:44 UTC
7a8d8b4 Fix the mapping of pack types into opened element environments. First, we need this to work on both lowered and unlowered types, so Type::subst is problematic: it'll assert if it sees a type like SILFunctionType. In this case, the substitution is simple enough that that's never a problem, but Type::subst doesn't know that, and the assertion is generally a good one. Second, we need this to not recurse into nested pack expansions. Third, we need this to not mess around with any existing element archetypes we might see in the type, so mapping in and out of context is not really okay. Fortunately, because we're mapping between structures (pack and element archetypes) that are guaranteed to have the same constraints, this transformation is really easy and we can just do it with transformRec. 15 March 2023, 21:45:55 UTC
36c61bd [Tests] NFC: Remove `ResultBuilderASTTransform` references from tests 15 March 2023, 21:29:04 UTC
48ccef7 [NFC] Store the list of opened pack parameters as a flat array in opened generic environments Finding these is very hot for these environments, so doing it once is a pretty nice win in both speed and code complexity. I'm not actually using this yet. 15 March 2023, 21:27:04 UTC
09018a8 [NFC] Store interface shape types in opened element environments 15 March 2023, 21:25:04 UTC
fd0dd26 Merge pull request #64389 from hyp/eng/SWIFT_INLINE_PRIVATE_HELPER-macro [interop][SwiftToCxx] use 'SWIFT_INLINE_PRIVATE_HELPER' macro for sta… 15 March 2023, 20:43:45 UTC
b49f2ef Merge pull request #64384 from apple/revert-64353-weak-link-unavailable-symbols Revert "IRGen: Weakly link symbols for unavailable declarations" 15 March 2023, 20:08:59 UTC
d1badfe [CSDiagnostics] Ignore placeholder types that appear in editor placeholder expressions When placeholder type appears in an editor placeholder i.e. `<#T##() -> _#>` we rely on the parser to produce a diagnostic about editor placeholder and glance over all placeholer type inference issues. Resolves: rdar://106621760 15 March 2023, 19:53:12 UTC
49d9ba5 Enable LoopRotate on header blocks with forwarding instructions We now have support for guaranteed forwarding phis. Fixes rdar://86210259 15 March 2023, 19:53:06 UTC
75dc69a [cxx-interop] Add debug dump when we hit The Flakey Issue™. This commit should be reverted in a week or two. Sorry. 15 March 2023, 19:46:53 UTC
b7c76e6 Merge pull request #64377 from mhjacobson/freebsd-allow-implicit-concurrency-import frontend: enable `shouldImportConcurrencyByDefault()` on FreeBSD 15 March 2023, 19:40:46 UTC
1afaab1 This test now passes on Windows It was fixed by 783d9987f21318e9bd5f1d2cfce42855b43c69c2. C++ doesn't guarantee argument evaluation order apparently, and before that change we were calling visit(), which has side effects, in the argument list of the call to PackExpansionType::get(). 15 March 2023, 19:30:22 UTC
32fa74d Merge pull request #64374 from rjmccall/verify-multiple-opening Verify instructions depending on multiple archetypes from the same open_pack_element 15 March 2023, 19:07:54 UTC
1621692 [CopyPropagation] Eliminate redundant moves. SemanticARCOpts already eliminates move values that are redundant that block its optimizations. But it's always run after CopyPropagation. Because move_values divide copy-extended lifetimes, move_values obstruct lifetime canonicalization. If a move_value isn't separating lifetimes with different characteristics (specifically: lexicallity, escaping), then it is only obstructing lifetime canonicalization. Remove it before canonicalizing the lifetime of the moved-from value. 15 March 2023, 18:56:27 UTC
151e1c5 Merge pull request #64337 from slavapestov/misc-variadic-generic-fixes Miscellaneous variadic generics fixes 15 March 2023, 18:53:25 UTC
58e42b3 Merge pull request #64385 from eeckstein/fix-predictablememopt PredictableMemOpt: fix a wrong debug info location type 15 March 2023, 18:44:47 UTC
290b07d Merge pull request #64249 from xedin/rdar-99089335 [TypeChecker] SE-0324: Extend Swift -> C pointer conversions to arrays 15 March 2023, 18:34:27 UTC
9358f2f [ConstraintSystem] Allow type variables for pack expansion patterns to bind to noescape. 15 March 2023, 17:53:14 UTC
584919e Merge pull request #64373 from apple/es-tests Update package name input and access scope check 15 March 2023, 17:45:04 UTC
31389f7 Merge pull request #64371 from Azoy/bye-bye-reflection Remove Reflection 15 March 2023, 17:13:46 UTC
f405fb0 [interop][SwiftToCxx] do not expose @alwaysEmitIntoClient properties to C++ 15 March 2023, 17:01:37 UTC
a8a44eb Merge pull request #64106 from kavon/enable-moveonly-by-default Enable moveonly / noncopyable types by default 15 March 2023, 16:59:29 UTC
78a406a In Metadata.h/.cpp, start building the relative wtable support even on platforms that don't use it yet (#64354) 15 March 2023, 16:41:40 UTC
94c1de7 [interop][SwiftToCxx] use 'SWIFT_INLINE_PRIVATE_HELPER' macro for static returnNewValue functions to ensure attribute(used) isn't applied to them 15 March 2023, 16:13:38 UTC
209fe7b Merge pull request #64357 from NuriAmari/fwd-declarations-assert-fix Add REQUIRES: asserts to swift 6 requiring tests 15 March 2023, 16:05:24 UTC
16eadfa Merge pull request #64375 from benlangmuir/api-up-clang-deps [Dependency Scanner] Update for clang API change 15 March 2023, 16:01:15 UTC
c3a6bfb SIL: Implement SILTypeSubstituter::hasSameShape() 15 March 2023, 15:59:47 UTC
783d998 SIL: Introduce SameShape requirements in SubstFunctionTypePatternVisitor 15 March 2023, 15:59:47 UTC
4ea9d04 PredictableMemOpt: fix a wrong debug info location type Fixes a crash in the debug info verification rdar://106594725 15 March 2023, 15:54:57 UTC
30a301c [build] Remove runpath from build host from shared ICU libraries on linux 15 March 2023, 15:50:40 UTC
f824ca1 Merge pull request #64362 from etcwilde/ewilde/cmake_backtracing_option Tie Swift backtracing pieces together in build 15 March 2023, 14:47:17 UTC
41f99fc [Executors][Distributed] custom executors for distributed actor (#64237) * [Executors][Distributed] custom executors for distributed actor * harden ordering guarantees of synthesised fields * the issue was that a non-default actor must implement the is remote check differently * NonDefaultDistributedActor to complete support and remote flag handling * invoke nonDefaultDistributedActorInitialize when necessary in SILGen * refactor inline assertion into method * cleanup * [Executors][Distributed] Update module version for NonDefaultDistributedActor * Minor docs cleanup * we solved those fixme's * add mangling test for non-def-dist-actor 15 March 2023, 14:42:55 UTC
e929453 [NFC] Switched to StackList. No need for a worklist of any sort, a simple list suffices. 15 March 2023, 14:38:59 UTC
ceb941d [NFC] Extracted isRedundantMoveValue. Extracted the predicate from inline in RedundantMoveValueElimination into the new function which can now be called from elsewhere (CopyPropagation). 15 March 2023, 14:38:59 UTC
79c6d4b Revert "IRGen: Weakly link symbols for unavailable declarations" 15 March 2023, 14:38:37 UTC
6b18154 Merge pull request #64361 from aschwaighofer/enable_relative_pwt_on_bot_config Enable relative protocol witness tables on all mixin_stdlib_minimal configurations 15 March 2023, 12:49:06 UTC
b375c09 [Diagnostic] Fix regression in requirement diagnostics 15 March 2023, 12:45:30 UTC
31e26a9 frontend: enable `shouldImportConcurrencyByDefault()` on FreeBSD Match OpenBSD and honor the SWIFT_IMPLICIT_CONCURRENCY_IMPORT build setting. 15 March 2023, 08:28:28 UTC
7727ce7 Merge pull request #64359 from eeckstein/swift-compile-time Compile time improvements in the Swift optimizer 15 March 2023, 06:18:26 UTC
d9e028f Merge pull request #64353 from tshortli/weak-link-unavailable-symbols IRGen: Weakly link symbols for unavailable declarations 15 March 2023, 05:54:39 UTC
a8cec8e Disable AutoDiff/compiler_crashers_fixed/58660-conflicting-debug-info-inlining.swift on Linux 15 March 2023, 04:56:29 UTC
1600c14 Merge pull request #64370 from nkcsgexi/90738915 15 March 2023, 04:40:15 UTC
7b460fb [Dependency Scanner] Update for clang API change * Service takes a CAS parameter now * Also remove a flag that has been removed for a while now (the flags are OptimizeArgs and EagerLoad now). 15 March 2023, 03:06:17 UTC
37d242c Merge pull request #64372 from hyp/eng/igen-cxx [interop] SourceKit should retry generating module interface with C++… 15 March 2023, 03:03:17 UTC
490c73c Merge pull request #64368 from hyp/eng/irgen-type-loc-nomore [interop] do not traverse type locs when IRGening clang decls from Swift 15 March 2023, 03:03:03 UTC
22c05ba Fix the SIL verifier to handle openings of multiple element archetypes 15 March 2023, 02:31:38 UTC
af1e0f7 Merge pull request #64360 from rjmccall/test-fix-32-bit Fix test on 32-bit targets 15 March 2023, 02:15:19 UTC
4ebedc8 [Sema] Adjust getCalleeLocator to look into coercion operand 15 March 2023, 02:06:11 UTC
2c7d9a5 update tests given move-only types are enabled the main things still left behind the experimental flag(s) are - move-only classes (guarded by MoveOnlyClasses feature) - noimplicitcopy - the _borrow operator 15 March 2023, 01:35:13 UTC
528d2cf enable full optimizations in test doesn't seem to be a need to skip destroy hoisting anymore. 15 March 2023, 01:35:13 UTC
back to top