tqchen commented on a change in pull request #10843:
URL: https://github.com/apache/tvm/pull/10843#discussion_r841122256
##########
File path: include/tvm/tir/stmt_functor.h
##########
@@ -413,6 +414,16 @@ inline T Substitute(T input, const
std::unordered_map<const VarNode*, PrimExpr>&
*/
TVM_DLL void PreOrderVisit(const ObjectRef& stmt_or_expr,
const std::function<bool(const ObjectRef&)>&
fvisit);
+
+class PrimFunc;
Review comment:
add `include tir/function.h and we can remove this forward decl of
PrimFunc`
--
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]