Skip to content

Handle stack switching in Unsubtyping #7608

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 5 commits into from
May 19, 2025
Merged

Conversation

tlively
Copy link
Member

@tlively tlively commented May 16, 2025

Add the rather complicated subtyping requirements to SubtypingDiscoverer
and test that unsubtyping preserves the necessary subtype relationships.

tlively added 2 commits May 16, 2025 15:55
Add the rather complicated subtyping requirements to SubtypingDiscoverer
and test that unsubtyping preserves the necessary subtype relationships.
@tlively tlively requested a review from kripken May 16, 2025 22:56
@tlively
Copy link
Member Author

tlively commented May 16, 2025

uhhh... hold on

@tlively tlively changed the base branch from main to tuple-make-typo May 16, 2025 23:00
@tlively tlively changed the title Fix TupleMake typo in wasm-delegations-fields.def @tlively Handle stack switching in Unsubtyping May 16, 2025
@tlively tlively changed the title @tlively Handle stack switching in Unsubtyping Handle stack switching in Unsubtyping May 16, 2025
Base automatically changed from tuple-make-typo to main May 16, 2025 23:37
@tlively
Copy link
Member Author

tlively commented May 17, 2025

This is fixed up and ready to go now

@@ -2471,6 +2471,7 @@ IRBuilder::makeResume(HeapType ct,
return Err{"the sizes of tags and labels must be equal"};
}
if (!ct.isContinuation()) {
std::cout << ct.toString() << "\n";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
std::cout << ct.toString() << "\n";

;; CHECK-NEXT: )
(func $switch-param
(local $cont (ref null $cont))
(switch $cont $e
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comment in this one?

@tlively tlively enabled auto-merge (squash) May 19, 2025 20:01
@tlively tlively merged commit a2d01d3 into main May 19, 2025
14 checks passed
@tlively tlively deleted the stack-switching-subtype-exprs branch May 19, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants