tkonolige commented on a change in pull request #7152:
URL: https://github.com/apache/tvm/pull/7152#discussion_r557616275



##########
File path: include/tvm/ir/transform.h
##########
@@ -410,9 +410,30 @@ class Sequential : public Pass {
  *
  * \return The created module pass.
  */
-TVM_DLL Pass
-CreateModulePass(const runtime::TypedPackedFunc<IRModule(IRModule, 
PassContext)>& pass_func,
-                 int opt_level, String name, Array<runtime::String> required);
+Pass CreateModulePass_(const runtime::TypedPackedFunc<IRModule(IRModule, 
PassContext)>& pass_func,
+                       int opt_level, String name, Array<runtime::String> 
required);
+
+/*
+ * \brief Create a module pass.
+ *
+ * \param pass_func The function that contains the optimization.
+ * \param opt_level The optimization level of the module pass.

Review comment:
       I've reverted these changes and will push them in a subsequent PR.




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


Reply via email to