Skip to content
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

[TIR] Allow VerifyWellFormed to accept IRModule #15247

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

Lunderberg
Copy link
Contributor

Previously, the calling code needed to iterate over all functions in a module. This commit adds an overload that accepts const IRModule&, allowing it to be called more easily. This also provides an API that can be extended to validate behavior across an entire IRModule (e.g. requiring that internal function calls have the correct argument types).

Previously, the calling code needed to iterate over all functions in a
module.  This commit adds an overload that accepts `const IRModule&`,
allowing it to be called more easily.  This also provides an API that
can be extended to validate behavior across an entire
IRModule (e.g. requiring that internal function calls have the correct
argument types).
@tvm-bot
Copy link
Collaborator

tvm-bot commented Jul 5, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@Lunderberg Lunderberg merged commit 2f7c097 into apache:main Jul 6, 2023
6 checks passed
@Lunderberg Lunderberg deleted the verify_well_formed_irmodule branch July 6, 2023 13:04
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jul 15, 2023
Previously, the calling code needed to iterate over all functions in a
module.  This commit adds an overload that accepts `const IRModule&`,
allowing it to be called more easily.  This also provides an API that
can be extended to validate behavior across an entire
IRModule (e.g. requiring that internal function calls have the correct
argument types).
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