slyubomirsky opened a new pull request #7288: URL: https://github.com/apache/tvm/pull/7288
I ran into a small issue when constructing a test case involving the `AnnotateTarget` pass and a function returning an empty tuple -- it was inserting a `compiler_end` annotation without a corresponding `compiler_begin` annotation. It turns out there was a check missing from `InsertCompilerEndAndPropogateTarget` (it checks for calls without args but not for empty tuples). This PR inserts a check and adds a test case. Please review @zhiics @comaniac ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
