forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIR] Allow VerifyWellFormed to accept IRModule (apache#15247)
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).
- Loading branch information
1 parent
a250205
commit 761ca3b
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters