Skip to content

[SandboxIR] Implement LandingPadInst #106116

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 1 commit into from
Aug 26, 2024
Merged

[SandboxIR] Implement LandingPadInst #106116

merged 1 commit into from
Aug 26, 2024

Conversation

vporpo
Copy link
Contributor

@vporpo vporpo commented Aug 26, 2024

This patch implements sandboxir::LandingPadInst mirroring llvm::LandingPadInst.

This patch implements sandboxir::LandingPadInst mirroring llvm::LandingPadInst.
void setCleanup(bool V);

// TODO: We are not implementing addClause() because we have no way to revert
// it for now.
Copy link
Member

Choose a reason for hiding this comment

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

This seems fine for now as the vectorizer will never have to add/remove catch and filters?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this could be added later on, if someone really needs it. It would require some changes in LLVM IR because currently there is no API that would allow us to revert it.

@vporpo vporpo merged commit e8b93ce into llvm:main Aug 26, 2024
9 checks passed
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