profile
viewpoint

karwa/swift 1

The Swift Programming Language

karwa/swift-url 1

A new URL type for Swift

karwa/AnnotationClustering 0

Framework that clusters annotations on MKMapView.

karwa/async-http-client 0

HTTP client library built on SwiftNIO

karwa/homebridge-webos3 0

Homebridge plugin for LG webOS3 TVs

karwa/IQKeyboardManager 0

Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.

karwa/libssh2-for-iOS 0

A script for compiling libssh2 for iOS Devices (iPhone, iPad, iPod Touch). The example app can connect to an server with SSH and execute commands.

karwa/Onigmo 0

Onigmo is a regular expressions library forked from Oniguruma.

PR opened apple/swift-algorithms

Make `uniqued()` lazy by default

Adds the Uniqued sequence that lazily produces the unique elements of a sequence. uniqued() and lazy.uniqued(on:) now return a Uniqued instance, the eager uniqued(on:) still produces an array.

Checklist

  • [x] I've added at least one test that validates that my change is working, if appropriate
  • [x] I've followed the code style of the rest of the project
  • [x] I've read the Contribution Guidelines
  • [x] I've updated the documentation if necessary
+107 -15

0 comment

3 changed files

pr created time in an hour

PR merged swiftwasm/swift

[pull] main from apple:main :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+1089 -569

0 comment

82 changed files

pull[bot]

pr closed time in 4 hours

push eventswiftwasm/swift

Erik Eckstein

commit sha 1dc8cbba208dba8fc66e4935734f680fe594b5a2

SIL: remove some dead code from SILCloner NFC

view details

Erik Eckstein

commit sha c638a2f19f923168511c139fed4ba4bc41210e93

IRGen: replace SmallPtrSet<SILBasicBlock *> with BasicBlockSet in emitSILFunction()

view details

Erik Eckstein

commit sha ddd0f4d3a92dbeb7c6c72daef6140b3ab30935ff

SIL: replace SmallPtrSet<SILBasicBlock *> with BasicBlockSet in LinearLifetimeChecker This makes it unnecessary to share a single instance of visited blocks across multiple calls the the checker.

view details

Erik Eckstein

commit sha 2f890dcbbfd26e95f0720e08aee50d23a9314cb5

SIL: some improvements to the BasicBlockBitfield utilities * add a BasicBlockSetVector class * add a second argument to BasicBlockFlag::set, for the set value. * rename BasicBlockSet::remove -> BasicBlockSet::erase. * add a MaxBitfieldID statistics value in SILFunction.cpp

view details

Erik Eckstein

commit sha 3e6fe70dbd9659d0d4053f1a403be61acb0cecd1

SIL: use BasicBlockSet instead of SmallPtrSet in findJointPostDominatingSet This allows putting the set as local variables into the function itself (where they are used) and removing them from JointPostDominanceSetComputer.

view details

Erik Eckstein

commit sha f7f7188b1456ffd01c9c6923bbb5ac33c5364260

SILOptimizer: use BasicBlockData and BasicBlockSet in ARCCodeMotion

view details

Erik Eckstein

commit sha 4d61dad616252b936ad767cf39c96bf00a6c1903

DeadCodeElimination: Make DCE a separate class, called by DCEPass::run(). Instead of manually managing the internal state of the pass. Also, use BasicBlockSet instead of SmallPtrSet.

view details

Erik Eckstein

commit sha f48191966cbc1cc87ce7f77641e5034220e94241

SILOptimizer: use BasicBlockSet instead of SmallPtrSet in various transformations. It reduces compile time.

view details

swift-ci

commit sha c4cfcc77805abbb58fab194a294b01413e7da22a

Merge pull request #35583 from eeckstein/use-basicblockflag

view details

Marcel Hlopko

commit sha 4f5c75a2361d298bef0266b6bf54bf2332e2bd82

[cxx-interop] Instantiate C++ class templates from Swift (#33284) This PR makes it possible to instantiate C++ class templates from Swift. Given a C++ header: ```c++ // C++ module `ClassTemplates` template<class T> struct MagicWrapper { T t; }; struct MagicNumber {}; ``` it is now possible to write in Swift: ```swift import ClassTemplates func x() -> MagicWrapper<MagicNumber> { return MagicWrapper<MagicNumber>() } ``` This is achieved by importing C++ class templates as generic structs, and then when Swift type checker calls `applyGenericArguments` we detect when the generic struct is backed by the C++ class template and call Clang to instantiate the template. In order to make it possible to put class instantiations such as `MagicWrapper<MagicNumber>` into Swift signatures, we have created a new field in `StructDecl` named `TemplateInstantiationType` where the typechecker stores the `BoundGenericType` which we serialize. Deserializer then notices that the `BoundGenericType` is actually a C++ class template and performs the instantiation logic. Depends on https://github.com/apple/swift/pull/33420. Progress towards https://bugs.swift.org/browse/SR-13261. Fixes https://bugs.swift.org/browse/SR-13775. Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com> Co-authored-by: Rosica Dejanovska <rosica@google.com>

view details

Eric Miotto

commit sha f9be289b9e04b3d7650a6c093e624ff321cf399b

[build] Amend target options for common C flags (#35559) Follow up of #35406 Addresses rdar://73502059

view details

push time in 4 hours

PR opened swiftwasm/swift

[pull] main from apple:main

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+1085 -565

0 comment

81 changed files

pr created time in 4 hours

PR opened swiftwasm/swift

[pull] swiftwasm from main

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+95 -18

0 comment

4 changed files

pr created time in 5 hours

PR merged swiftwasm/swift

[pull] main from apple:main :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+95 -18

0 comment

4 changed files

pull[bot]

pr closed time in 8 hours

push eventswiftwasm/swift

Meghana Gupta

commit sha 3e330abf449838d5d03b5cd21922ddec3a203f7e

Fix use-after-free in ownership rauw Instead of saving BorrowingOperand on the context save the SILBasicBlock and index of the terminator operand. This avoids the use-after-free in eliminateReborrowsOfRecursiveBorrows. Previously, eliminateReborrowsOfRecursiveBorrows called helper insertOwnedBaseValueAlongBranchEdge, which can delete a branch instruction (reborrow) that could have been cached in recursiveReborrows.

view details

Meghana Gupta

commit sha 78a6213080e66407a183ff68a9f4c4cba5942ec1

Clear context in ownership rauw when we cannot fix ownership for rauw. If not, subsequent unrelated call of OwnershipRAUWHelper::perform will have stale entries for transitiveBorrowedUses etc

view details

swift-ci

commit sha e3ade396ee71aff1dfb49d79e94077debb2fc92b

Merge pull request #35605 from meg-gupta/ossabugs1

view details

push time in 8 hours

push eventswiftwasm/swift

Evan Wilde

commit sha 8f81609a1b26b283a3ded5596206378fe6f1d469

Imported macros are actor independent Macros are thread safe. Marking them actor-independent will avoid imported macros being reported as not concurrency safe.

view details

Michael Gottesman

commit sha d6ffddc63f77d80ea491bda14f664e7fa7ef8888

[sil-combine] Add ownership support for switch_enum_addr transforms. I implemented specifically the promotion from switch_enum_addr -> switch_enum for loadable types. NOTE: I did not add support for the inject_enum_addr based conversion to br since that optimization deletes an edge from the CFG, potentially invalidating CFG properties. Since OSSA needs to use DeadEndBlocks, we want to avoid changing reachability in any way with our SILCombine transforms.

view details

Michael Gottesman

commit sha 44fdc746ea299c6e637ec78cf9881287d9ea4111

[ownership] Allow the user of OwnershipRAUWHelper to insert forwarding transforms of the new value at oldValue in between checking and RAUWing.

view details

Michael Gottesman

commit sha 2abd7e8604160a78c6c46d52a201288e30cb8ed8

[sil-combine] Update unchecked_bitwise_cast canonicalizations for ownership. The only interesting thing that I did in this commit is I added a parameter to OwnershipRAUWHelper::perform that lets one pass in a transformed version of newValue. The assumption is that the transformation if it is done is done at the location of oldValue.

view details

Michael Gottesman

commit sha de58e7997b2bb96984584686b4ed7e85936fcf6c

[ownership] When RAUWing an unowned value with a owned/guaranteed value only insert unchecked_ownership_conversion for terminator uses. Already, we allow for owned/guaranteed values to be passed to values with unowned ownership. This just cleans up the SIL a bit. That being said, we still need unchecked_ownership_conversion for the terminator case since any owned/guaranteed's value (ignoreing function parameters) will end before the return meaning that we need some way of escaping it.

view details

Michael Gottesman

commit sha bf5ac43a665ad12334c4c3001cbb4a9da7a70038

[sil-combine] Enable unreachable pruning for ownership. This doesn't mess with ownership, so we can just enable it.

view details

Varun Gandhi

commit sha 56b38b910041fa856f8dabf70859227f3f219b60

[test] Add crash test for Clang function type mismatch.

view details

Varun Gandhi

commit sha f9570b2d34a4c72b23fb7fb31a7fc4bb55050f67

[NFC] Pass full convention printing boolean for types etc. When -experimental-print-full-convention is set, we should be printing the full convention in diagnostics, doc comments etc.

view details

Varun Gandhi

commit sha 86b123a35ccf917dc08f9377588667faa05c00a1

[Sema] Diagnose type error on Clang type mismatch. Fixes rdar://71904525.

view details

Michael Gottesman

commit sha b6f873b6be747dbc2b99a83863a4778dcd0ba64c

[sil-combine] Enable a bunch of tests that already pass.

view details

Michael Gottesman

commit sha 68b4671a78f9e3652c9d078c0bfaa1e426f38bb5

[sil-combine] Enable sil-combine simplifications for {thick_to_objc,objc_to_thick}_metatype. Metatype always have none ownership, so we can just perform this. I also removed a test (peephole_thick_to_objc_metatype.sil) that I had in a previous commit renamed to sil_combine_peephole_thick_to_objc_metatype.sil. This was os that this matched the rest of the sil_combine tests that have the 'sil_combine_*' prefix.

view details

Michael Gottesman

commit sha 04ba6c6d96cf1f230a19b1737cf57828b474f3bc

[sil-combine] Enable select_enum canonicalization in OSSA.

view details

Andrew Trick

commit sha 9a48d0e7f95a34ec9ef259307aef03ae19ac447a

Fix SILInstruction::mayRelease to handle unmanaged_release_value. Apparently this API was never called from any OSSA passes. Fixes rdar://73507733 ([SR-14090]: [Source Compat] swift-futures 5.1 fails to build from main branch)

view details

Erik Eckstein

commit sha 4cd3171f350e64e8e416b18797f0cfac63fd5126

SIL: support dealloc_ref and dealloc_partial_ref in LoadBorrowImmutabilityChecker It fixes a verifier crash. Thanks to @compnerd, who found this by experiment.

view details

Eric Miotto

commit sha 8e7f9c9cbd5d23806e53f82a8bd345c0c7520f8b

Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."

view details

Mishal Shah

commit sha 7060aef0945bf8ff91beffc6eb6221546b7fdbb1

Merge pull request #35600 from apple/revert-35554-single-silnode-in-singlevalueinstruction Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."

view details

Saleem Abdulrasool

commit sha ae7e1b5ee283e5e9d7d8c85687ab826e6ebd9e9e

Merge pull request #35599 from eeckstein/fix-llt-checker SIL: support dealloc_ref and dealloc_partial_ref in LoadBorrowImmutabilityChecker

view details

Evan Wilde

commit sha 3f68fa18b70574aa989af70cf1d3cb1b05604d16

Handle more Expr types in inout actor diags We were handling weren't handling all of the expression types that can show up as part of a parameter. As a result, the compiler was crashing on correct code. This patch introduces handling for far more expression types and the appropriate tests for each. Added handling includes: - Gentle optional unwrap - Forceful optional unwrap - Identity expressions (await, parens, etc) - Implicit conversion exprs

view details

Evan Wilde

commit sha 3a3aaf1b60a010f543de975153221729d6cb8884

Use forEachChild for traversal instead of ad-hoc traversal Replacing ad-hoc expression tree with forEachChild traversal and matching the desired expression. This should avoid crashes, but may accept invalid code in the future.

view details

Evan

commit sha 769cfce6ed904e08ac4d69bed907d30abdfc0752

Merge pull request #35499 from etcwilde/ewilde/actor-independent-macro-import [Concurrency] Imported macros are actor independent

view details

push time in 8 hours

PR merged swiftwasm/swift

[pull] swiftwasm from main :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+1521 -1167

0 comment

84 changed files

pull[bot]

pr closed time in 8 hours

PR opened swiftwasm/swift

[pull] main from apple:main

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+95 -18

0 comment

4 changed files

pr created time in 8 hours

PR merged swiftwasm/swift

[pull] main from apple:main :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+804 -535

0 comment

44 changed files

pull[bot]

pr closed time in 12 hours

push eventswiftwasm/swift

Michael Gottesman

commit sha d6ffddc63f77d80ea491bda14f664e7fa7ef8888

[sil-combine] Add ownership support for switch_enum_addr transforms. I implemented specifically the promotion from switch_enum_addr -> switch_enum for loadable types. NOTE: I did not add support for the inject_enum_addr based conversion to br since that optimization deletes an edge from the CFG, potentially invalidating CFG properties. Since OSSA needs to use DeadEndBlocks, we want to avoid changing reachability in any way with our SILCombine transforms.

view details

Michael Gottesman

commit sha 44fdc746ea299c6e637ec78cf9881287d9ea4111

[ownership] Allow the user of OwnershipRAUWHelper to insert forwarding transforms of the new value at oldValue in between checking and RAUWing.

view details

Michael Gottesman

commit sha 2abd7e8604160a78c6c46d52a201288e30cb8ed8

[sil-combine] Update unchecked_bitwise_cast canonicalizations for ownership. The only interesting thing that I did in this commit is I added a parameter to OwnershipRAUWHelper::perform that lets one pass in a transformed version of newValue. The assumption is that the transformation if it is done is done at the location of oldValue.

view details

Michael Gottesman

commit sha de58e7997b2bb96984584686b4ed7e85936fcf6c

[ownership] When RAUWing an unowned value with a owned/guaranteed value only insert unchecked_ownership_conversion for terminator uses. Already, we allow for owned/guaranteed values to be passed to values with unowned ownership. This just cleans up the SIL a bit. That being said, we still need unchecked_ownership_conversion for the terminator case since any owned/guaranteed's value (ignoreing function parameters) will end before the return meaning that we need some way of escaping it.

view details

Michael Gottesman

commit sha bf5ac43a665ad12334c4c3001cbb4a9da7a70038

[sil-combine] Enable unreachable pruning for ownership. This doesn't mess with ownership, so we can just enable it.

view details

Varun Gandhi

commit sha 56b38b910041fa856f8dabf70859227f3f219b60

[test] Add crash test for Clang function type mismatch.

view details

Varun Gandhi

commit sha f9570b2d34a4c72b23fb7fb31a7fc4bb55050f67

[NFC] Pass full convention printing boolean for types etc. When -experimental-print-full-convention is set, we should be printing the full convention in diagnostics, doc comments etc.

view details

Varun Gandhi

commit sha 86b123a35ccf917dc08f9377588667faa05c00a1

[Sema] Diagnose type error on Clang type mismatch. Fixes rdar://71904525.

view details

Michael Gottesman

commit sha b6f873b6be747dbc2b99a83863a4778dcd0ba64c

[sil-combine] Enable a bunch of tests that already pass.

view details

Michael Gottesman

commit sha 68b4671a78f9e3652c9d078c0bfaa1e426f38bb5

[sil-combine] Enable sil-combine simplifications for {thick_to_objc,objc_to_thick}_metatype. Metatype always have none ownership, so we can just perform this. I also removed a test (peephole_thick_to_objc_metatype.sil) that I had in a previous commit renamed to sil_combine_peephole_thick_to_objc_metatype.sil. This was os that this matched the rest of the sil_combine tests that have the 'sil_combine_*' prefix.

view details

Michael Gottesman

commit sha 04ba6c6d96cf1f230a19b1737cf57828b474f3bc

[sil-combine] Enable select_enum canonicalization in OSSA.

view details

Andrew Trick

commit sha 9a48d0e7f95a34ec9ef259307aef03ae19ac447a

Fix SILInstruction::mayRelease to handle unmanaged_release_value. Apparently this API was never called from any OSSA passes. Fixes rdar://73507733 ([SR-14090]: [Source Compat] swift-futures 5.1 fails to build from main branch)

view details

Evan Wilde

commit sha 3f68fa18b70574aa989af70cf1d3cb1b05604d16

Handle more Expr types in inout actor diags We were handling weren't handling all of the expression types that can show up as part of a parameter. As a result, the compiler was crashing on correct code. This patch introduces handling for far more expression types and the appropriate tests for each. Added handling includes: - Gentle optional unwrap - Forceful optional unwrap - Identity expressions (await, parens, etc) - Implicit conversion exprs

view details

Evan Wilde

commit sha 3a3aaf1b60a010f543de975153221729d6cb8884

Use forEachChild for traversal instead of ad-hoc traversal Replacing ad-hoc expression tree with forEachChild traversal and matching the desired expression. This should avoid crashes, but may accept invalid code in the future.

view details

Alexis Laferrière

commit sha c76269ec1a0afe0b12a0770b7b789ac1e27050bd

[ModuleInterface] Preserve SPI information for indirect conformances rdar://73082943

view details

Alexis Laferrière

commit sha b79c7b627bfe497175a7f7abc6629376ed01c9c9

[ModuleInterface] Update wording of the "failed to build module" error The error shown when the compiler fails to build a module from its textual interface has been creating some confusion. This is a proposal to make it more useful to the programmer not working in the SDK, insist on looking at the previous errors first, put less emphasis on possible compiler bugs, and always show alternatives to the incompatible compilers issue as this is the most common case now.

view details

Andrew Trick

commit sha 8948f7565a2800e0378c2925085bf0a723089973

Fix a SimplifyCFG typo that leads to unbounded optimization Fixes rdar://73357726 ([SR-14068]: Compiling with optimisation runs indefinitely for grpc-swift) The root cause of this problem is that SimplifyCFG::tryJumpThreading jump threads into loops, effectively peeling loops. This is not the right way to implement loop peeling. That belongs in a loop optimization pass. There's is simply no sane way to control jump threading if it is allowed across loop boundaries, both from the standpoint of requiring optimizations to terminate and from the standpoint of reducing senseless code bloat. SimplifyCFG does have a mechanism to avoid jump-threading into loop in most cases. That mechanism would actually prevent the infinite loop peeling in this particular case if it were implemented correctly. But the original implementation circa 2014 appears to have a typo. This commit fixes that obvious bug. I do not think it's a sufficient to ensure we never see the bad behavior. I will file separate bugs for the broader issue. This bad behavior was exposed incidentally by splitting critical edges. Without edge splitting, SimplifyCFG::simplifyBlocks only performs "jump threading" once, creating a critical edge to the loop header. Because simplifyBlocks works under the assumption that there are no critical edges, it never attempts to perform jump threading again. In other words, the presence of the critical edge "breaks" the optimization, preventing it from continuing as intended. With edge splitting, the simplifyBlocks worklist performs "jump threading" followed by "jump to trampoline" removal, which creates a new loop-back edge to the original loop header. This is fine. However, simplifyBlocks iteratively attempts all optimizations up to a fix point and it does not stop at loop headers! So, splitting the critical edge causes simplifyBlocks to work as intended, which leads to infinite loop peeling. The end result is an infinite sequence of nested loops. Each peeled iteration is actually within the parent loop.

view details

Michael Gottesman

commit sha fdbe87288924bf59c85160578bb37830b50207d7

Merge pull request #35601 from gottesmm/ossa-sil-combine-3 [sil-combine] More ownership updates

view details

Alexis Laferrière

commit sha 64939d1bd9646dca42e5578ee87530317602f051

Merge pull request #35602 from xymus/spi-indirect-conformance [ModuleInterface] Preserve SPI information for indirect conformances

view details

Alexis Laferrière

commit sha fe4d46cea988e9946d28860a61d42c734b428a7b

Merge pull request #35590 from xymus/reword-module-build-error [ModuleInterface] Update wording of the "failed to build module" error

view details

push time in 12 hours

push eventswiftwasm/swift

Rintaro Ishizaki

commit sha 26c2f86af6505fe8837e79e7436dc678c7b109ae

[Parse] Diagnose default argument for subscript in protocols Protocol requirements don't support default arguments. Although this is a "semantic" diagnostics, we currently do this for 'func' and 'init' in Parser. So for fixing a crash, let's to it for 'subscript' in Parser too. rdar://problem/73159041 (cherry picked from commit 8a5810712351f797cc729b5555b89901464e3c09)

view details

Rintaro Ishizaki

commit sha 3693d928ac5bd00601ae26c121a0e5bff8edce14

Merge pull request #35592 from rintaro/5.4-parse-rdar73159041 [5.4][Parse] Diagnose default argument for subscript in protocols

view details

pull[bot]

commit sha f4c88ef3c02d7b9c777f7012eba296390f09dd0b

Merge pull request #2584 from swiftwasm/release/5.4 [pull] swiftwasm-release/5.4 from release/5.4

view details

push time in 17 hours

PR merged swiftwasm/swift

[pull] swiftwasm-release/5.4 from release/5.4 :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+9 -0

0 comment

3 changed files

pull[bot]

pr closed time in 17 hours

push eventswiftwasm/swift

Evan Wilde

commit sha 8f81609a1b26b283a3ded5596206378fe6f1d469

Imported macros are actor independent Macros are thread safe. Marking them actor-independent will avoid imported macros being reported as not concurrency safe.

view details

Evan

commit sha 769cfce6ed904e08ac4d69bed907d30abdfc0752

Merge pull request #35499 from etcwilde/ewilde/actor-independent-macro-import [Concurrency] Imported macros are actor independent

view details

push time in 17 hours

created tagswiftwasm/swift

tagswift-wasm-5.4-SNAPSHOT-2021-01-26-a

WebAssembly support for the Swift programming language

created time in 18 hours

release swiftwasm/swift

swift-wasm-5.4-SNAPSHOT-2021-01-26-a

released time in 18 hours

PR opened swiftwasm/swift

[pull] main from apple:main

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+10 -1

0 comment

3 changed files

pr created time in 18 hours

created tagswiftwasm/swift

tagswift-wasm-DEVELOPMENT-SNAPSHOT-2021-01-26-a

WebAssembly support for the Swift programming language

created time in 19 hours

PR opened swiftwasm/swift

[pull] swiftwasm from main

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+717 -632

0 comment

41 changed files

pr created time in 20 hours

PR opened swiftwasm/swift

[pull] swiftwasm-release/5.4 from release/5.4

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+9 -0

0 comment

3 changed files

pr created time in 20 hours

PR merged swiftwasm/swift

[pull] release/5.4 from apple:release/5.4 :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+9 -0

0 comment

3 changed files

pull[bot]

pr closed time in 21 hours

push eventswiftwasm/swift

Rintaro Ishizaki

commit sha 26c2f86af6505fe8837e79e7436dc678c7b109ae

[Parse] Diagnose default argument for subscript in protocols Protocol requirements don't support default arguments. Although this is a "semantic" diagnostics, we currently do this for 'func' and 'init' in Parser. So for fixing a crash, let's to it for 'subscript' in Parser too. rdar://problem/73159041 (cherry picked from commit 8a5810712351f797cc729b5555b89901464e3c09)

view details

Rintaro Ishizaki

commit sha 3693d928ac5bd00601ae26c121a0e5bff8edce14

Merge pull request #35592 from rintaro/5.4-parse-rdar73159041 [5.4][Parse] Diagnose default argument for subscript in protocols

view details

push time in 21 hours

PR opened swiftwasm/swift

[pull] release/5.4 from apple:release/5.4

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+9 -0

0 comment

3 changed files

pr created time in a day

PR merged swiftwasm/swift

[pull] main from apple:main :arrow_heading_down: Upstream Tracking

See Commits and Changes for more details.


Created by <img src="https://prod.download/pull-18h-svg" valign="bottom"/> pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

+769 -633

0 comment

43 changed files

pull[bot]

pr closed time in a day

push eventswiftwasm/swift

Erik Eckstein

commit sha 4cd3171f350e64e8e416b18797f0cfac63fd5126

SIL: support dealloc_ref and dealloc_partial_ref in LoadBorrowImmutabilityChecker It fixes a verifier crash. Thanks to @compnerd, who found this by experiment.

view details

Saleem Abdulrasool

commit sha ae7e1b5ee283e5e9d7d8c85687ab826e6ebd9e9e

Merge pull request #35599 from eeckstein/fix-llt-checker SIL: support dealloc_ref and dealloc_partial_ref in LoadBorrowImmutabilityChecker

view details

push time in a day

push eventswiftwasm/swift

Doug Gregor

commit sha 83e8588977df195e8beadc76b135be98a9a85fc9

[AST Verifier] Handle ObjC requirements satisfied by alternative requirements. With 'async' imports of Objective-C protocol requirements, a single Objective-C method will produce two different requirements in the protocol, with the same Objective-C selector. Teach the AST verifier that it is sufficient for just one of the requirements with that Objective-C selector to be satisfied by a witness. Fixes rdar://72742910.

view details

Doug Gregor

commit sha dba2726ba307f0d6b039642f5c2dcb4e375afed9

Merge pull request #35593 from DougGregor/objc-async-conformance-verify [AST Verifier] Handle ObjC requirements satisfied by alternative requirements

view details

Eric Miotto

commit sha 8e7f9c9cbd5d23806e53f82a8bd345c0c7520f8b

Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."

view details

Mishal Shah

commit sha 7060aef0945bf8ff91beffc6eb6221546b7fdbb1

Merge pull request #35600 from apple/revert-35554-single-silnode-in-singlevalueinstruction Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."

view details

push time in a day

push eventswiftwasm/swift

Minhyuk Kim

commit sha f138ce0b199da0f2153577ea82e35c0180208b18

Add specific warning for overriden `NSObject.hash(into:)`

view details

Minhyuk Kim

commit sha 5c21cdf4a66a64c4a8c6ab8cf9fa7628f9c996eb

Modify override_decl_extension error to be more descriptive

view details

Arnold Schwaighofer

commit sha daa72d3cc574e8b1a3aaba442764d139db14b572

Add llvm::Attribute::SwiftAsync to the context parameter * Adds support for generating code that uses swiftasync parameter lowering. * Currently only arm64's llvm lowering supports the swift_async_context_addr intrinsic. * Add arm64e pointer signing of updated swift_async_context_addr. This commit needs the PR llvm-project#2291. * [runtime] unittests should use just-built compiler if the runtime did This will start to matter with the introduction of usage of swiftasync parameters which only very recent compilers support. rdar://71499498

view details

Arnold Schwaighofer

commit sha 12e6ec1dafb3f72550600880802c95d1d4cd4ae1

Fix one more test

view details

Richard Howell

commit sha 6b6e5b84a6b9fe8ba8acbbb6f30cfddf66d3ebd1

[Testing] Add missing REQUIRES: concurrency

view details

Rintaro Ishizaki

commit sha 8a5810712351f797cc729b5555b89901464e3c09

[Parse] Diagnose default argument for subscript in protocols Protocol requirements don't support default arguments. Although this is a "semantic" diagnostics, we currently do this for 'func' and 'init' in Parser. So for fixing a crash, let's to it for 'subscript' in Parser too. rdar://problem/73159041

view details

Saleem Abdulrasool

commit sha 4084f7a5a667ae11bb04a30ab8e7bcfdb97c45b9

Platform: add dxgi1_6 to the Direct3D module There is no usermode header which has the DXGI1.6 interfaces included unfortunately. This adds the interfaces to the module which is required for IDXGIAdapter4 interface.

view details

Saleem Abdulrasool

commit sha 25d83bfb6b69716ee62a9f427e56bbde760586b6

Basic: add explicit template parameters for disambiguation When building with MSVC, this would fail to compile due to the `buffer` type (`uint8_t [8]`) being treated as `unsigned char *`, which is expecting to be SFINAE'd to fail find an overload for the hash combination.

view details

Andrew Trick

commit sha a2fac95f9fe5cf414787119e473438b0f3208f2c

OSSA ownership optimization RAUW utility fixes. Verify that the OwnershipRAUWUtility always preserves the original borrow scope by exhaustively switching over OperandOwnership. And related cleanup.

view details

swift-ci

commit sha f7f658cce760b103a04c355c284041f953033c93

Merge pull request #35571 from atrick/fix-rauw-borrowuse

view details

Michael Gottesman

commit sha eb641f039d66568b64350806156baeba7c88b9db

[sil-optimizer] Compile in SIL verifiers when NDEBUG is enabled and enable them only when -sil-verify-all is enabled.

view details

Michael Gottesman

commit sha 329f03d6757c4e784335573fc1f8be5a69f1c929

Merge pull request #35558 from gottesmm/pr-8546814ec14114ba6e9d76c03a8ab15aabc4ad2b [sil-optimizer] Compile in SIL verifiers when NDEBUG is enabled and enable them only when -sil-verify-all is enabled.

view details

Saleem Abdulrasool

commit sha 65fae09daa1f910008bf5ad154edc29b60384126

Merge pull request #35573 from compnerd/dxgi Platform: add dxgi1_6 to the Direct3D module

view details

Saleem Abdulrasool

commit sha af7f1e67641f2f162a17381942984b47cd88f037

Merge pull request #35574 from compnerd/disambiguate Basic: add explicit template parameters for disambiguation

view details

Saleem Abdulrasool

commit sha 997cb0f6719c3f487795f1f7487c6364e1dd44e1

Platform: add HLSL compiler to the WinSDK modulemap The DirectX subsystem may require access to the HLSL compiler for building the shaders before uploading to the GPU. This is adds to the modulemap the D3DCompiler module to get access to the compiler.

view details

Robert Widmann

commit sha c2163703fdffdca2f9faf59e4a16504bb3958a78

Merge pull request #35465 from mininny/objc-override-hash-warning [Diagnostics] Add specific warning for overriden `NSObject.hash(into:)`

view details

Saleem Abdulrasool

commit sha 3c9e76d5fe7dbae6f69ad7e8f7a21ac7aa682c62

Concurrency: attempt to handle Windows draining Rather than just simply invoking abort on Windows, attempt to load dispatch and execute the main loop by looking up `dispatch_main` in the module. Assuming that dispatch was used already, the `LoadLibraryW` will provide the handle to the module currently mapped in. This still is not correct, since we do not link to libdispatch, so we cannot have invoked any dispatch queuing methods. However, this is better than the previous behaviour of simply aborting. This resolves the symptom in SR-14086, but not the underlying problem.

view details

3405691582

commit sha 6adaf48e96a30e85175ee64bdc6c38e97e25833a

[stdlib] Add missing Glibc dependency for OpenBSD. Otherwise, the build may fail as the build attempts to build SwiftReflectionTest before Glibc has been built.

view details

Saleem Abdulrasool

commit sha e08ba66ec6c3b2f3197cbccbbbf0c83518bbdd57

Merge pull request #35577 from compnerd/infinite-loop-rather-than-explode Concurrency: attempt to handle Windows draining

view details

Saleem Abdulrasool

commit sha 682eeb4be71ccc8bbfc027f14f95e3ce766b7d3c

Merge pull request #35578 from 3405691582/ReflectionTestDependsOnGlibc [stdlib] Add missing Glibc dependency for OpenBSD.

view details

push time in a day

delete branch swiftwasm/swift

delete branch : maxd/main-merge

delete time in a day

more