forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
[pull] swiftwasm from main #4921
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This test does: ``` race() print("Done!") // CHECK: ThreadSanitizer: data race // CHECK: Done! ``` We see some recent cases where the output of the test binary on iOS devices was: ``` Done! ================== WARNING: ThreadSanitizer: data race … ``` So apparently the TSan report output is not guaranteed to be printed before "Done!". Maybe this is because we print "Done!" on stdout and the sanitizer report on stderr? The remaining question is: what changed that we are seeing this issue now, but not previously? rdar://99713724 Co-authored-by: Julian Lettner <julian.lettner@apple.com>
…e equivalence classes This fixes an edge case where we start with the following requirements: - U : P - T : P - T.[P]A == C - T == G<T.[P]A> - U.[P]A == T.[P]A and end up with the following set of minimal rules (where the type witness for [P]A in the conformance G<C> : P is C): - U.[P] => U - U.[P:A] => T.[P:A] - T.[concrete: G<C>] => T - T.[concrete: G<C> : P] => T Since U.[P]A and T.[P]A are concrete, we split the abstract same-type requirement into two requirements, and re-run minimization: - U : P - T.[P]A == C - U.[P]A == C - T == G<C> The concrete conformance rule T.[concrete: G<C> : P] => T does not correspond to a requirement, so it was simply dropped, and the above rules violate post-contraction invariants; T.[P]A is not a valid type parameter because there is no conformance requirement T : P in the minimized signature. We can fix this by re-running concrete contraction after splitting concrete equivalence classes. After contraction, the above requirements turn into - U : P - C == C - U.[P]A == C - T == G<C> Which correctly minimizes to - U : P - U.[P]A == C - T == G<C> Both concrete contraction and concrete equivalence classes are hacks, and we should think of a way to directly express the transformations they perform with the rewrite system. Fixes swiftlang#61192.
Swift Optimizer: improve ergonomics of EscapeUtils
…tead of `BridgedBuiltinID` rdar://83361087
…d of `BridgedAccessKind` rdar://83361087
…essKind` instead of ` SILWitnessTableEntryKind` rdar://83361087
[Sema] Do not attempt openning same generic argument twice while checking default parameter
swiftlang#61189) * [Sema] Reject `@objc` functions with incompatible property wrapper in params rdar://99443365 When generating `@objc` functions, the parameters were not checked for property wrapper and instead only the wrapped type was checked for compatibility. Added checks and diagnostics for incompatible property wrappers.
…ePayloadGeneric calls rdar://100129824
…oads-dist [Distributed] Prevent overloading on async in distributed methods, for wire compat
[cxx-interop][SwiftCompilerSources] Use C++ enums directly from Swift
Our current implementation of `func successor() -> MyType` relies on the ability to create a new instance of the type. For immortal foreign reference types, this wouldn't be reasonable to do. rdar://100050151
Spelling utils
…-contraction RequirementMachine: Redo concrete contraction after splitting concrete equivalence classes
…-coroutine SIL: Use the right generic signature for computing SIL function type for coroutine accessors
[NFC] Rename MissingImport cases and tests
…-no-immortal [cxx-interop] Do not synthesize `successor()` for immortal types
…ointer_for_enum_tag_runtime_calls IRGen: Sign function pointers passed to swift_(store/get)EnumTagSinglePayloadGeneric calls
…ation [DI] Add a way to determine full initialization points
…ild-early-swiftsyntax Revert "Default to building the early SwiftSyntax package."
…ite-to-gh-issues-29 Gardening: Migrate test suite to GH issues p. 29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )