You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/03/09 16:07:56 UTC
[GitHub] [tvm] Mousius commented on a change in pull request #10424: [AOT] Introduce checks for return values from operators
Mousius commented on a change in pull request #10424:
URL: https://github.com/apache/tvm/pull/10424#discussion_r822821490
##########
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:
This is a much better name, will fix immediately as the old name wasn't great :smile_cat:
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org