Skip to content
Failed

Changes

Changes from Git (git https://github.com/apple/swift.git)

Summary

  1. Bump WasmKit in `update-checkout-config.json` to 0.1.5 (details)
  2. Update WasmKit to 0.1.6 in `update-checkout-config.json` (details)
  3. Add a new experimental feature for borrow and mutate accessors (details)
  4. Introduce borrow and mutate as new accessor kinds (details)
  5. Add mangling support for borrow/mutate accessors (details)
  6. Parser support for borrow and mutate accessors (details)
  7. Sema support for borrow and mutate accessors (details)
  8. Avoid synthesizing read when borrow is present and modify when mutate is present (details)
  9. Add tests for borrow and mutate accessors (details)
  10. [NFC] Add some utilities in SILDeclRef (details)
  11. Update DeclContext::getInnermostPropertyAccessorContext for accessors within SubscriptDecl (details)
  12. Introduce ResultConvention::Guaranteed and  ResultConvention::GuaranteedAddress (details)
  13. Introduce ResultConvention::Guaranteed and  ResultConvention::GuaranteedAddress in SwiftCompilerSources (details)
  14. Update SILFunctionType for borrow accessors (details)
  15. [NFC] Move StorageRefResult to a header (details)
  16. SILGen support for borrow accessors on Copyable types and address-only ~Copyable types (details)
  17. Updates to MoveOnlyChecker (details)
  18. Updates to MemAccessUtils to handle borrowed address returns (details)
  19. Enable SIL parsing of borrow and mutate accessors (details)
  20. Update OperandOwnership of ReturnInst (details)
  21. Update borrowed from for guaranteed results of borrow accessors (details)
  22. Update SIL verification for borrow accessors (details)
  23. [Dependency Scanning] Configure a thread-safe serialized diagnostics consumer for in-memory scans (details)
  24. Add new-driver-only flag for dependency scanning serialized diagnostic output path (details)
  25. [cxx-interop] Handle Unowned values in implicit value ctors (details)
  26. Frontend: Require `-language-mode` option when emitting swiftinterfaces. (details)
  27. SILGen: Don't copy_addr [take] trivial address-only values. (details)
  28. [Dependency Scanning] Refactor 'createScanQueryContext' to directly return an error (details)
  29. [Embedded] Diagnose untyped throws as an Embedded Swift restriction (details)
  30. [NFC][wasm] Fix incorrect comment about reserved low addresses (details)
  31. [Legacy Driver][wasm] Pass `--table-base` to reserve low function addresses (details)
  32. Add some optimizer tests (details)
  33. Update SideEffects for borrow accessors returning addresses (details)
  34. Disable GenericSpecializer for borrow accessors in OSSA temporarily (details)
  35. [NFC] hasGuaranteedAddressResults -> hasGuaranteedAddressResult and hasGuaranteedResults -> hasGuaranteedResult (details)
  36. Update hasGuaranteedResult and hasGuaranteedAddressResult (details)
  37. [NFC] Replace ApplyInst::getSubstCalleeConv()::hasGuaranteedAddressResult() with  ApplyInst::hasGuaranteedAddressResult() (details)
  38. [NFC] Update feature flags (details)
  39. Avoid inserting lexical scope for arguments of borrow accessors while inlining (details)
  40. Update SwiftCompilerSources' OwnershipLiveness utility for borrow accessors (details)
  41. [NFC] Add notes on self argument of borrow accessor being non-lexical (details)
  42. [CSSimplify] Fix key path to function conversion to check key path requirements (details)
  43. Suppress Embedded Restriction diagnostics in code that won't be compiled as Embedded (details)
  44. [test][wasm] Add test to kill the missing func addr reservation (details)
  45. Frontend: Temporarily downgrade 'error_module_interface_requires_language_mode'. (details)
Commit 669c3280f6f99ee47c234413eb10214e1722177c by mdesiatov
Bump WasmKit in `update-checkout-config.json` to 0.1.5

0.1.2 version of the dependency as currently specified doesn't build with Swift 6.1.
The file was modified utils/update_checkout/update-checkout-config.json
Commit f14d47fb25e1fcd172109e94ececb846977c80c6 by github
Update WasmKit to 0.1.6 in `update-checkout-config.json`
The file was modified utils/update_checkout/update-checkout-config.json
Commit 459a95888cbd94c91514f5efa46f4dd1915052c5 by meghana_gupta
Add a new experimental feature for borrow and mutate accessors
The file was modified lib/AST/FeatureSet.cpp
The file was modified include/swift/Basic/Features.def
Commit 9fe489ce2230c416ea16ab99a1608faf89dfe5b7 by meghana_gupta
Introduce borrow and mutate as new accessor kinds

And handle them in various covered switches
The file was modified lib/SILGen/SILGenType.cpp
The file was modified include/swift/AST/AccessorKinds.def
The file was modified lib/AST/ASTDumper.cpp
The file was modified lib/IRGen/IRGenDebugInfo.cpp
The file was modified lib/Sema/MiscDiagnostics.cpp
The file was modified lib/Sema/TypeCheckAttr.cpp
The file was modified lib/SILGen/SILGenLValue.cpp
The file was modified include/swift/AST/StorageImpl.h
The file was modified lib/Sema/TypeCheckProtocol.cpp
The file was modified lib/SIL/IR/SILPrinter.cpp
The file was modified tools/swift-ide-test/swift-ide-test.cpp
The file was modified include/swift/AST/DiagnosticsSema.def
The file was modified lib/Parse/ParseDecl.cpp
The file was modified lib/Serialization/Deserialization.cpp
The file was modified lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
The file was modified lib/SILGen/SILGenPattern.cpp
The file was modified lib/Serialization/Serialization.cpp
The file was modified lib/AST/AccessRequests.cpp
The file was modified tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp
The file was modified lib/Sema/TypeCheckDecl.cpp
The file was modified utils/gyb_sourcekit_support/UIDs.py
The file was modified lib/SIL/IR/TypeLowering.cpp
The file was modified include/swift/AST/Decl.h
The file was modified lib/Index/Index.cpp
The file was modified lib/SILGen/SILGenApply.cpp
The file was modified lib/AST/Decl.cpp
The file was modified lib/Sema/TypeCheckDeclObjC.cpp
The file was modified lib/Sema/TypeCheckDeclOverride.cpp
The file was modified lib/Serialization/ModuleFormat.h
The file was modified lib/Index/IndexSymbol.cpp
The file was modified lib/Sema/TypeCheckStorage.cpp
The file was modified lib/AST/ASTPrinter.cpp
The file was modified lib/AST/PrettyStackTrace.cpp
The file was modified lib/Sema/CSDiagnostics.cpp
Commit 28c4595735822d26580ae56bcb7f832eb0df133d by meghana_gupta
Add mangling support for borrow/mutate accessors
The file was modified docs/ABI/Mangling.rst
The file was modified lib/Demangling/Demangler.cpp
The file was modified lib/Demangling/NodePrinter.cpp
The file was modified lib/Demangling/OldRemangler.cpp
The file was modified include/swift/Demangling/DemangleNodes.def
The file was modified lib/AST/ASTMangler.cpp
The file was modified lib/Demangling/Remangler.cpp
Commit 5f2aaa60b1213a665bcec9162e10619fbfa81d66 by meghana_gupta
Parser support for borrow and mutate accessors
The file was modified include/swift/AST/DiagnosticsParse.def
The file was modified lib/Parse/ParseDecl.cpp
The file was modified include/swift/AST/StorageImpl.h
The file was modified include/swift/AST/DiagnosticsCommon.def
Commit 075d44ac437a71a04c1247a38f6d74c0e741a755 by meghana_gupta
Sema support for borrow and mutate accessors
The file was modified include/swift/AST/DiagnosticsSema.def
The file was modified lib/Sema/PreCheckTarget.cpp
The file was modified lib/Sema/TypeCheckDecl.cpp
The file was modified lib/Sema/TypeCheckStorage.cpp
Commit 280fc8329283445986894ab5b67a5d21fa96f217 by meghana_gupta
Avoid synthesizing read when borrow is present and modify when mutate is present
The file was modified include/swift/AST/AnyFunctionRef.h
The file was modified lib/AST/Decl.cpp
The file was modified lib/Sema/TypeCheckStorage.cpp
The file was modified include/swift/AST/Decl.h
Commit cad2e4b054b9681af114967183ca63c9b80c3f20 by meghana_gupta
Add tests for borrow and mutate accessors
The file was addedtest/Parse/borrow_and_mutate_accessors.swift
The file was addedtest/Sema/borrow_and_mutate_accessors.swift
Commit f1c41960d8a8016f4a86e9e1deca41fc56bdd846 by meghana_gupta
[NFC] Add some utilities in SILDeclRef
The file was modified include/swift/SIL/SILDeclRef.h
The file was modified lib/SIL/IR/SILDeclRef.cpp
Commit 5689f65c5c35c417f262c91b22b670b473fff94a by meghana_gupta
Update DeclContext::getInnermostPropertyAccessorContext for accessors within SubscriptDecl
The file was modified lib/AST/DeclContext.cpp
Commit 1cff471c5729f23722b323ed8a4a265140169096 by meghana_gupta
Introduce ResultConvention::Guaranteed and  ResultConvention::GuaranteedAddress

ResultConvention::Guaranteed will be used by borrow accessors when the storage type can be returned by value.

ResultConvention::GuaranteedAddress will be used by mutate accessors and borrow accessors when the storage type
cannot be returned by value.
The file was modified lib/SILOptimizer/Differentiation/VJPCloner.cpp
The file was modified lib/SIL/IR/SILType.cpp
The file was modified lib/AST/ASTPrinter.cpp
The file was modified lib/SILGen/SILGenApply.cpp
The file was modified include/swift/SIL/SILFunctionConventions.h
The file was modified include/swift/AST/Types.h
The file was modified lib/SILGen/SILGenPoly.cpp
The file was modified lib/IRGen/GenObjC.cpp
The file was modified lib/AST/ASTMangler.cpp
The file was modified lib/SIL/IR/SILFunctionType.cpp
The file was modified lib/Serialization/Serialization.cpp
The file was modified lib/Serialization/Deserialization.cpp
The file was modified lib/Serialization/ModuleFormat.h
Commit a798f21fd2ce71d6d468d1f3527bff9c854094f1 by meghana_gupta
Introduce ResultConvention::Guaranteed and  ResultConvention::GuaranteedAddress in SwiftCompilerSources
The file was modified SwiftCompilerSources/Sources/SIL/FunctionConvention.swift
The file was modified include/swift/SIL/SILBridging.h
The file was modified SwiftCompilerSources/Sources/SIL/Argument.swift
Commit 4f33d5201c8bbabadeb7848dd8df861b570bbd9c by meghana_gupta
Update SILFunctionType for borrow accessors
The file was modified include/swift/SIL/SILFunctionConventions.h
The file was modified lib/SIL/IR/SILFunctionType.cpp
Commit 6b8c91efe2d97730b8d2cac2ed1b1866ae3be9bd by meghana_gupta
[NFC] Move StorageRefResult to a header
The file was addedlib/SILGen/StorageRefResult.h
The file was modified lib/SILGen/SILGenStmt.cpp
The file was modified lib/SILGen/SILGenApply.cpp
The file was modified include/swift/AST/DiagnosticsSIL.def
Commit 8c1231e86b92b3ccddf821169d4e83c2ebb00688 by meghana_gupta
SILGen support for borrow accessors on Copyable types and address-only ~Copyable types
The file was modified lib/SIL/IR/SILFunctionType.cpp
The file was modified lib/SILGen/LValue.h
The file was modified lib/SILGen/SILGenApply.cpp
The file was modified lib/SILGen/SILGenFunction.h
The file was addedtest/SILGen/borrow_accessor.swift
The file was modified include/swift/SIL/SILFunctionConventions.h
The file was modified include/swift/AST/Types.h
The file was modified lib/SILGen/SILGenStmt.cpp
The file was modified lib/SILGen/SILGenLValue.cpp
The file was modified include/swift/AST/DiagnosticsSIL.def
The file was modified lib/SILGen/SILGenEpilog.cpp
The file was modified lib/SILGen/SILGenProlog.cpp
Commit 9e4fa8f508baa0533eb7c3ad20bb4fd5ae373cf1 by meghana_gupta
Updates to MoveOnlyChecker
The file was modified lib/SILOptimizer/Mandatory/MoveOnlyAddressCheckerUtils.cpp
Commit 518c3ac091cef4677b8433912072dd4e33ca6ab5 by meghana_gupta
Updates to MemAccessUtils to handle borrowed address returns
The file was modified lib/SIL/Utils/MemAccessUtils.cpp
The file was modified include/swift/SIL/MemAccessUtils.h
Commit a09e258f7f9bda3c673b6a391929512f893ed5a6 by meghana_gupta
Enable SIL parsing of borrow and mutate accessors
The file was modified lib/ASTGen/Sources/ASTGen/TypeAttrs.swift
The file was modified include/swift/AST/TypeAttr.def
The file was modified lib/Sema/TypeCheckType.cpp
The file was addedtest/SIL/Parser/borrow_accessor.sil
Commit 5c3345994575243e2fa21128d2ca7d92dcabe67a by meghana_gupta
Update OperandOwnership of ReturnInst
The file was modified lib/SIL/IR/OperandOwnership.cpp
Commit 0bec28f510e082a4d1d4120f687f1db090ecdc70 by meghana_gupta
Update borrowed from for guaranteed results of borrow accessors
The file was modified test/SILOptimizer/borrowed_from_updater.sil
The file was modified SwiftCompilerSources/Sources/SIL/Utilities/BorrowUtils.swift
Commit ce128e71e2450cc138d3d49fa99565abbef3bf17 by meghana_gupta
Update SIL verification for borrow accessors
The file was modified SwiftCompilerSources/Sources/SIL/Utilities/Verifier.swift
The file was modified lib/SIL/IR/SILValue.cpp
The file was modified lib/SIL/IR/OperandOwnership.cpp
The file was addedtest/SIL/OwnershipVerifier/borrow_accessor.sil
The file was modified include/swift/SIL/ApplySite.h
The file was modified include/swift/SIL/SILInstruction.h
Commit c82048559abf2d06c29bed1699dd1de473c925ff by achikin
[Dependency Scanning] Configure a thread-safe serialized diagnostics consumer for in-memory scans

This change introduces a thread-safe version of the 'SerializedDiagnosticConsumer' and refactors scanning compilation instance creation code to ensure this consumer gets added when the scanner query configuration command-line includes '-serialized-diagnostics-path' option.
The file was modified lib/DependencyScan/ScanDependencies.cpp
The file was modified lib/Frontend/SerializedDiagnosticConsumer.cpp
The file was modified unittests/DependencyScan/ModuleDeps.cpp
The file was modified lib/DependencyScan/DependencyScanningTool.cpp
The file was modified lib/DependencyScan/ModuleDependencyScanner.cpp
The file was modified include/swift/Frontend/SerializedDiagnosticConsumer.h
The file was modified include/swift/DependencyScan/ScanDependencies.h
The file was modified include/swift/DependencyScan/DependencyScanningTool.h
Commit b6760e7617839c2b325d1248e1a0a93eff4f326d by achikin
Add new-driver-only flag for dependency scanning serialized diagnostic output path
The file was modified include/swift/Option/Options.td
Commit fe3cc6d024a21b0be126c5a0e42f555977e05742 by gaborh
[cxx-interop] Handle Unowned values in implicit value ctors

We usually have unowned values when dealing with foreign types. Make
sure the implicit value ctors will do a +1 to balance the releases. In a
release build we had a use after free over-releasing the object. In
assert builds we had an assertion failure:

Assertion failed: (value->getOwnershipKind() == OwnershipKind::Guaranteed),
function forBorrowedObjectRValue, file ManagedValue.h, line 181.

rdar://160232360
The file was modified test/Interop/Cxx/foreign-reference/Inputs/module.modulemap
The file was addedtest/Interop/Cxx/foreign-reference/frts-as-fields.swift
The file was modified lib/SILGen/SILGenConstructor.cpp
The file was addedtest/Interop/Cxx/foreign-reference/Inputs/logging-frts.h
Commit 13d61b070910156b3e130c6c4b06ac1aa24eeb01 by shortlidge
Frontend: Require `-language-mode` option when emitting swiftinterfaces.

If a `.swiftinterface` file does not include an explicit `-language-mode`
option (or its predecessor `swift-version`) and needs to be built as a
dependency of a client compilation, then the invocation to build the module
from interface would end up inheriting the language mode that the client code
is built with. This can result in spurious type checking diagnostics or even
mis-compilation. To ensure that a module interface is always built using the
language mode that its source code was originally built with, require an
explicit `-language-mode` option when emitting swiftinterface files.

Resolves rdar://145168219.
The file was modified lib/Frontend/CompilerInvocation.cpp
The file was modified include/swift/AST/DiagnosticsFrontend.def
The file was addedtest/ModuleInterface/language_mode.swift
The file was modified test/Driver/createCompilerInvocation.swift
Commit df8ab6ee0bb76d872ef6b666ce871b0d8829b24b by jgroff
SILGen: Don't copy_addr [take] trivial address-only values.

This is a new case that comes up with `InlineArray`, since an `InlineArray`
with unknown count but known trivial element type is trivial but still
address-only due to its unknown size. We are inconsistent about whether
we emit formal copies or not of these values; they should generally
be unnecessary as long as the memory location of a value is sufficiently
long-lived, but the SIL verifier still reasonably considers a `[take]` as
an invalidation of the memory, even though at runtime a take is a no-op.
Since the take is unnecessary, we can just not take when we copy out of
a trivial address location. Fixes #84141 | rdar://160007939.
The file was addedtest/SILGen/trivial_address_only_switch.swift
The file was modified lib/SILGen/SILGenLValue.cpp
The file was modified test/SILGen/variadic-generic-tuples.swift
Commit 50c0dd844ff8670bb77cab2736ccaad2dd966121 by achikin
[Dependency Scanning] Refactor 'createScanQueryContext' to directly return an error
The file was modified lib/DependencyScan/DependencyScanningTool.cpp
The file was modified lib/DependencyScan/ScanDependencies.cpp
The file was modified unittests/DependencyScan/ModuleDeps.cpp
The file was modified include/swift/DependencyScan/DependencyScanningTool.h
Commit 7d21bc332aca3dfac8aa81ee5c0fce3afae88875 by dgregor
[Embedded] Diagnose untyped throws as an Embedded Swift restriction

Untyped throws depends on existentials (`any Error`), and is therefore
not available in Embedded Swift. Introduce a diagnostic that diagnoses
any use of untyped throws, suggesting that one use typed throws
instead.

Make this an opt-in diagnostic enabled with `-Wwarning
EmbeddedRestrictions`, whether in Embedded Swift or not, using the
"default ignore" flag on these new warnings. Document this new
diagnostic group, and put the existing Embedded Swift error about
weak/unowned references in it as well.

Part of the general push to have the type checker identify code that
will not compile as Embedded Swift earlier, rdar://133874555.
The file was modified include/swift/AST/DiagnosticGroups.def
The file was modified lib/Sema/CMakeLists.txt
The file was modified include/swift/AST/DiagnosticsSema.def
The file was modified lib/Sema/TypeCheckDeclPrimary.cpp
The file was modified lib/Sema/TypeCheckType.cpp
The file was addedtest/embedded/restrictions.swift
The file was modified test/embedded/weak-unowned.swift
The file was modified lib/Sema/ConstraintSystem.cpp
The file was modified include/swift/AST/DiagnosticEngine.h
The file was addeduserdocs/diagnostics/embedded-restrictions.md
The file was modified lib/Sema/TypeCheckAttr.cpp
The file was modified userdocs/diagnostics/diagnostic-groups.md
The file was addedlib/Sema/TypeCheckEmbedded.h
The file was addedlib/Sema/TypeCheckEmbedded.cpp
Commit 6915a36895f6f32a267448db597e3033dd790157 by kateinoigakukun
[NFC][wasm] Fix incorrect comment about reserved low addresses
The file was modified stdlib/public/SwiftShims/swift/shims/System.h
The file was modified lib/Driver/WebAssemblyToolChains.cpp
Commit e12642f91735d9cee334e7aade3c784b5b7493bc by kateinoigakukun
[Legacy Driver][wasm] Pass `--table-base` to reserve low function addresses

WebAssembly does not have a reserved address space by default, so we
need to explicitly reserve low addresses for extra inhabitants for
enum types with pointer payloads. https://github.com/swiftlang/swift/pull/39300
added `--global-base` to reserve low data addresses, but we also need
to reserve low function addresses with `--table-base` for function
pointers because WebAssembly uses a separate address space for function
pointers.
The file was modified lib/Driver/WebAssemblyToolChains.cpp
Commit db0725cc9147bcacbbf413cf5357fb23a4518567 by meghana_gupta
Add some optimizer tests
The file was modified test/SILOptimizer/shrink_borrow_scope.unit.sil
The file was modified test/SILOptimizer/semantic-arc-opts-redundantcopyopts.sil
The file was modified test/SILOptimizer/destroy-hoisting.sil
The file was modified test/SILOptimizer/copy_propagation.sil
The file was modified test/SILOptimizer/ossa_lifetime_completion.sil
Commit 51c64d5fdaa66b916f24d4a74ccacfb2270f8b2e by meghana_gupta
Update SideEffects for borrow accessors returning addresses

Add a read effect on the self parameter. Without this, the self parameter can get dead code eliminated by the GenericSpecializer.
The file was modified SwiftCompilerSources/Sources/SIL/FunctionConvention.swift
The file was modified SwiftCompilerSources/Sources/Optimizer/FunctionPasses/ComputeSideEffects.swift
Commit 29f5dad72fbf62584a456379d46fce24d2abae9d by meghana_gupta
Disable GenericSpecializer for borrow accessors in OSSA temporarily
The file was modified lib/SILOptimizer/Transforms/GenericSpecializer.cpp
Commit 6665cd5d46d1e20c4b5ecd85b3318a30e5710915 by meghana_gupta
[NFC] hasGuaranteedAddressResults -> hasGuaranteedAddressResult and hasGuaranteedResults -> hasGuaranteedResult
The file was modified include/swift/SIL/SILFunctionConventions.h
The file was modified lib/SILGen/SILGenStmt.cpp
The file was modified include/swift/SIL/SILInstruction.h
The file was modified lib/SILOptimizer/Transforms/GenericSpecializer.cpp
The file was modified include/swift/SIL/MemAccessUtils.h
The file was modified lib/SILOptimizer/Mandatory/MoveOnlyAddressCheckerUtils.cpp
The file was modified lib/SIL/IR/SILFunctionType.cpp
The file was modified include/swift/AST/Types.h
The file was modified lib/SILGen/SILGenEpilog.cpp
Commit 995d6a77d926d331fd3fc49bb72aeca732a5fcfc by meghana_gupta
Update hasGuaranteedResult and hasGuaranteedAddressResult
The file was modified include/swift/AST/Types.h
The file was modified include/swift/SIL/SILFunctionConventions.h
Commit a42511e041100ad706bf2454abbc35e16af23921 by meghana_gupta
[NFC] Replace ApplyInst::getSubstCalleeConv()::hasGuaranteedAddressResult() with  ApplyInst::hasGuaranteedAddressResult()
The file was modified include/swift/SIL/MemAccessUtils.h
The file was modified lib/SILOptimizer/Mandatory/MoveOnlyAddressCheckerUtils.cpp
The file was modified include/swift/SIL/SILInstruction.h
Commit 58957c3da2ce13ff6f69e5ff1e239fd4f3e47581 by meghana_gupta
[NFC] Update feature flags
The file was modified test/Parse/borrow_and_mutate_accessors.swift
The file was modified test/SILGen/borrow_accessor.swift
The file was modified test/Sema/borrow_and_mutate_accessors.swift
Commit 11097c4b9e470c842e777412013f8d8d704e99bb by meghana_gupta
Avoid inserting lexical scope for arguments of borrow accessors while inlining
The file was modified lib/SILOptimizer/Utils/SILInliner.cpp
Commit d3e41e5f2bc6dd6580ad225e5a50a79031f8f546 by meghana_gupta
Update SwiftCompilerSources' OwnershipLiveness utility for borrow accessors

It uses a check on conformance to ForwardInstruction for walking down guaranteed forwarding uses.
Since apply of borrow accessors cannot be represented as ForwardingInstruction, handle them separately.

Representing apply of borrow accessors for consistent handling in the optimizer is TBD.
The file was modified test/SILOptimizer/ownership_liveness_unit.sil
The file was modified SwiftCompilerSources/Sources/SIL/ApplySite.swift
The file was modified SwiftCompilerSources/Sources/Optimizer/Utilities/OwnershipLiveness.swift
Commit aeac52992559cff4ffc3fdb25233f4fda3f4b380 by meghana_gupta
[NFC] Add notes on self argument of borrow accessor being non-lexical
The file was modified lib/SILOptimizer/Utils/SILInliner.cpp
The file was modified docs/SIL/Ownership.md
Commit ac27f53c0455ec724b9ac492a3bee9e33a8ad124 by pyaskevich
[CSSimplify] Fix key path to function conversion to check key path requirements

`KeyPath` types now have conformance requirements placed on their
`Root` and `Value` types which need to be checked even when there
is a key path to function conversion involved, otherwise the solver
would be accepting invalid code.

Note that without function conversion the requirements come from
a type opened during assignment - https://github.com/swiftlang/swift/pull/80081/files.

Resolves: https://github.com/swiftlang/swift/issues/84150
The file was modified lib/Sema/CSSimplify.cpp
The file was modified test/Sema/keypaths_noncopyable.swift
The file was modified lib/Sema/CSDiagnostics.cpp
Commit 865c643cac7ce82007c9ab0a30050f8f7c3b281b by dgregor
Suppress Embedded Restriction diagnostics in code that won't be compiled as Embedded

When emitting diagnostics for the Embedded Swift restrictions outside
of Embedded Swift mode, consider `#if $Embedded` and `#if
hasFeature(Embedded)` configurations. If the code where we would emit
the diagnostic would be disabled in Embedded Swift by one of those
checks, don't emit the diagnostic. This helps code that can compile
either with Embedded or regular Swift stay within the restrictions on
Embedded Swift.
The file was modified test/embedded/restrictions.swift
The file was modified include/swift/Bridging/ASTGen.h
The file was modified lib/Sema/TypeCheckEmbedded.cpp
The file was modified lib/ASTGen/Sources/ASTGen/CMakeLists.txt
The file was modified lib/ASTGen/Sources/ASTGen/SourceFile.swift
The file was addedlib/ASTGen/Sources/ASTGen/EmbeddedSupport.swift
Commit 5431bb115b184ed5faa170aca2d26d4995a6203b by kateinoigakukun
[test][wasm] Add test to kill the missing func addr reservation
The file was modified utils/swift_build_support/swift_build_support/products/wasmstdlib.py
The file was modified test/Interpreter/enum.swift
Commit e2c8235a2c3b848cd9ebec42eb23bf40fb07236d by shortlidge
Frontend: Temporarily downgrade 'error_module_interface_requires_language_mode'.

Downgrade the new error in https://github.com/swiftlang/swift/pull/84244 to a
warning.

The PR smoke test build is using a different build system that is failing to
pass `-swift-version` arguments when building various stdlib modules. That
needs to be fixed, but for now we also need to unblock CI.
The file was modified lib/Frontend/CompilerInvocation.cpp
The file was modified test/ModuleInterface/language_mode.swift