Skip to content

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
@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