sunggg commented on code in PR #15954:
URL: https://github.com/apache/tvm/pull/15954#discussion_r1412641600
##########
src/ir/transform.cc:
##########
@@ -531,6 +531,23 @@ Pass CreateModulePass(const
runtime::TypedPackedFunc<IRModule(IRModule, PassCont
return ModulePass(pass_func, pass_info);
}
+Pass ApplyPassToFunction(Pass pass, String func_name, bool
error_if_function_missing) {
Review Comment:
This function seems useful. Can we get the `List[String]` instead of single
function name so that we can generalize a little further?
--
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]