Lunderberg commented on PR #16250: URL: https://github.com/apache/tvm/pull/16250#issuecomment-1861753869
This PR resolves #16237, and reverts an earlier fix in #16236. The unit test added for `SplitHostDevice` uses the well-formed checker to variables are defined at their point-of-use. Since this was neither an existing part of `tir.analysis.verify_well_formed`, and an initial implementation using `VarUseDefAnalysis` didn't include the location of undefined usage, this PR also includes `TIRVisitorWithPath`, which tracks the location within an `IRModule` for use in error messages. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
