manupa-arm commented on a change in pull request #10424:
URL: https://github.com/apache/tvm/pull/10424#discussion_r822816091
##########
File path: src/relay/backend/aot_executor_codegen.cc
##########
@@ -333,6 +333,19 @@ class AOTExecutorCodegen : public MixedModeVisitor {
args->insert(args->end(), sids.begin(), sids.end());
}
+ /*
+ * Wraps a call_extern with a tvm_check_return annotation if required
otherwise
+ * returns the passed Call
+ */
+ tir::Call WrapCall(tir::Call existing_call) {
Review comment:
nit : maybe something like AddCheckReturn ?
--
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]