-
Notifications
You must be signed in to change notification settings - Fork 10.5k
🌲: Merge branch 'main' into rebranch. #68133
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
🌲: Merge branch 'main' into rebranch. #68133
Conversation
Unlike the core Set.insert, this utility declaration wasn’t declared @discardableOverload, introducing an undesirable inconsistency. rdar://114008680
This test case used to fail at some point but it’s passing now. Add it so that we don’t break it in the future. rdar://97897857
For LazyImmediate and TupleConformances.
…on builtins (swiftlang#67944) When the differentiating a function containing loops, we allocate a linear map context object on the heap. This context object may store non-trivial objects, such as closures, that need to be released explicitly. Fix the autodiff linear map context allocation builtins to correctly release such objects and not just free the memory they occupy.
…oad-decl [stdlib] Add @discardableResult to Set.insert’s AnyHashable overload
…-relation [CodeCompletion] Add test case for some/any type relations
…lpath Remove realpath in lit site config to fix Driver/working-directory.swift test failure
Improve layout strings runtime code and fix several issues
[Test] Require asserts for some experimental-feature tests.
Resolve conflicts introduced in swiftlang#67944 as follows: ``` diff --git a/include/swift/Runtime/RuntimeFunctions.def b/include/swift/Runtime/RuntimeFunctions.def index 3c973b5884b..44cde70 100644 --- a/include/swift/Runtime/RuntimeFunctions.def +++ b/include/swift/Runtime/RuntimeFunctions.def @@ -2537,16 +2537,10 @@ FUNCTION(AutoDiffCreateLinearMapContextWithType, swift_autoDiffCreateLinearMapContextWithType, SwiftCC, DifferentiationAvailability, RETURNS(RefCountedPtrTy), -<<<<<<< HEAD - ARGS(SizeTy), + ARGS(TypeMetadataPtrTy), ATTRS(NoUnwind), EFFECT(AutoDiff), MEMEFFECTS(ArgMemOnly)) -======= - ARGS(TypeMetadataPtrTy), - ATTRS(NoUnwind, ArgMemOnly), - EFFECT(AutoDiff)) ->>>>>>> public-github/main // void *swift_autoDiffProjectTopLevelSubcontext(AutoDiffLinearMapContext *); FUNCTION(AutoDiffProjectTopLevelSubcontext, @@ -2563,16 +2557,10 @@ FUNCTION(AutoDiffAllocateSubcontextWithType, swift_autoDiffAllocateSubcontextWithType, SwiftCC, DifferentiationAvailability, RETURNS(Int8PtrTy), -<<<<<<< HEAD - ARGS(RefCountedPtrTy, SizeTy), + ARGS(RefCountedPtrTy, TypeMetadataPtrTy), ATTRS(NoUnwind), EFFECT(AutoDiff), MEMEFFECTS(ArgMemOnly)) -======= - ARGS(RefCountedPtrTy, TypeMetadataPtrTy), - ATTRS(NoUnwind, ArgMemOnly), - EFFECT(AutoDiff)) ->>>>>>> public-github/main ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The merge conflict resolution looks fine to me. My ABI-break senses are tingling a bit here, but that's for discussion on the original PR.
The original PR didn't remove any definitions, so it's fine. |
Resolve conflicts introduced in #67944 as follows: