Skip to content

[pull] swiftwasm from main #2384

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

Merged
merged 22 commits into from
Dec 21, 2020
Merged

[pull] swiftwasm from main #2384

merged 22 commits into from
Dec 21, 2020

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 20, 2020

See Commits and Changes for more details.


Created by pull[bot]

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

mikeash and others added 9 commits December 16, 2020 10:27
Clang has decided not to inline certain functions on the refcounting fast paths, so we need to convince it otherwise.

rdar://problem/72150908
Because the shims are generally meant for the standard library build,
which requires clang, we can default to using the compiler vended
information for the types.
Avoid triggering the semantic `IsFinalRequest`
and instead check for the presence of the final
attribute.

Resolves SR-13230.
shims: invert the condition and prefer the clang path
gottesmm and others added 13 commits December 20, 2020 13:46
We pass in deadEndBlocks into scCanonicalize's constructor now.
Passing nullptr was undefined behavior because ReborrowVerifier takes
a reference to DeadEndBlocks.
…ion-cfg

Specifically, I changed how sil-mode-display-function-cfg searches for the
start/end of the SIL function body where the current point is. Previously, we
just searched for the exact strings "{" and "}" backwards and forwards
respectively. That was insufficient in the context of box types that use those
characters.

Instead with this change, we convert the aforementioned static search to a regex
search. Our regex match "{$" for the beginning of the SIL function and "^} //
end sil function '" or "^}" which I think will generally work to get the correct
body. NOTE: We first check for the end sil function variant.
…487786ad6e7a9a00bbd1329

[sil-combine] Eliminate a dead parameter.
[Incremental Swift Driver] Generalize Driver/Dependencies tests
The one opt we perform here is that we promote fix_lifetime on loadable
alloc_stack addresses to fix_lifetimes on objects by loading the underlying
value and putting the fix lifetime upon it.
…c4f335da499a0cf60cc44a2

[sil-combine] Update fix_lifetime opts for ownership
test: xfail Driver/Dependencies/bindings-build-record.swift
[Runtime] Add SWIFT_ALWAYS_INLINE to various refcounting helpers.
@MaxDesiatov MaxDesiatov merged commit d9daf49 into swiftwasm Dec 21, 2020
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.

9 participants