Skip to content

Add a new semantics attribute to disable SIL verification on a function #81520

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
May 16, 2025

Conversation

meg-gupta
Copy link
Contributor

This provides a way to disable verification per function instead of the entire module.

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

It makes sense to add this check in SILPassManager::runSwiftFunctionVerification, too.

@meg-gupta meg-gupta force-pushed the disableverifysemantics branch from a279b5d to b90fc5f Compare May 15, 2025 17:51
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

@meg-gupta meg-gupta enabled auto-merge May 15, 2025 17:52
This provides a way to disable verification per function instead of the entire module.
@meg-gupta meg-gupta force-pushed the disableverifysemantics branch from b90fc5f to aa01b2a Compare May 15, 2025 21:30
@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test windows

@meg-gupta meg-gupta merged commit f7529ea into swiftlang:main May 16, 2025
3 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.

3 participants