Skip to content

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Nov 3, 2022

The main branch is outdated for a few months.

xedin and others added 27 commits December 14, 2022 17:50
Sink isFixedBuffer into DebugTypeInfo and ensure the enclosed types
Generalize the tracking of opened archetypes to cover pack element archetypes
… Bind

constraints, vend potential bindings through PotentialBindings::infer.

This allows for bidirectional binding inference from the pack type to the
element type and vice versa.
…anager

Establish the relationship for generated sources, whether for macro
expansions or (via a small stretch) replacing function bodies with
other bodies, in the source manager itself. This makes the information
available for diagnostic rendering, and unifies a little bit of the
representation, although it isn't used for much yet.
…2d3f1fe4ceb8cf02589da9a

[sil] Add a new attribute called @closureCaptured to SILFunctionArguments that are closure capture arguments.
…/20221213

[OpaqueValues] Emit addr-only patterns.
…/20221213

[OpaqueValues] Fix @in_guaranteed loadable yields.
This removes one bit of code dependency on SwiftCompilerSupport, which
we want to eliminate.
… the compiler to this repo

This allows us to evolve e.g. token kinds and how attributes are modelled independently between SwiftSyntax and the compiler. It also makes it easier to e.g. add an attribute because you don’t need to create PRs for two repositories.
I added quite a few noqa: E501 because I think having similar properties on the same line is more important than having a strict column-limit
…-lipo

[recursive-lipo] Fix incorrect indentation
A recent SPM change made it mandatory for there to be an archiver in the
toolchain/PATH, swiftlang/swift-package-manager#5761, so make sure llvm-ar is
bundled in the toolchain.
Update store_borrow checking in MemoryLifetimeVerifier and fix ForEachLoopUnroll and GenericCloner
…stic on lets being captured in a closure.

Specifically, previously we said something along the lines of...

'x' has guaranteed ownership but was consumed

even for lets. This is pretty misleading. Using @closureCapture, we can now emit
a much better diagnostic:

'x' consumed in closure. This is illegal since if the closure is invoked more than once the binding will be uninitialized on later invocations.

I am also going to use this technique to emit a similar diagnostic for vars that
are captured by a closure. It will be slightly different since vars will behave
like inout parameters.
…infrastructure.

This let me clean up the parts of the address infrastructure that rely on the
object checker.
…hould be treated like inout arguments.

rdar://103313357
glibc's `uintptr_t` and `uint64_t` are both `unsigned long int`, but `uint32_t`
is `unsigned int`, so BitVector overloads cannot be resoled on 32-bit
platforms by following compilation error:

error: call to member function 'add' is ambiguous
  bv.add(heap_object_abi::SwiftSpareBitsMask);

darwin 32-bit platforms use stdint types defined in SwiftStdint.h, so
they are identical
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch from 1c50f83 to 68fd6d9 Compare December 27, 2022 06:06
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch from 41cc7c1 to 6446814 Compare December 27, 2022 15:10
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch 6 times, most recently from 0978d69 to 2380494 Compare December 29, 2022 10:33
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch 2 times, most recently from ea7bfc8 to a28c439 Compare December 30, 2022 05:44
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch 4 times, most recently from 5c4d76e to 0610cf2 Compare December 30, 2022 07:38
@kateinoigakukun kateinoigakukun force-pushed the katei/merge-main-2022-11-03 branch from 0610cf2 to f83f983 Compare December 30, 2022 07:52
@kateinoigakukun kateinoigakukun marked this pull request as ready for review December 30, 2022 10:10
@kateinoigakukun kateinoigakukun merged commit 02d8760 into swiftwasm Dec 30, 2022
@kateinoigakukun kateinoigakukun deleted the katei/merge-main-2022-11-03 branch December 30, 2022 10:10
@kateinoigakukun kateinoigakukun mentioned this pull request Dec 30, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.