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:03:15 UTC

[GitHub] [tvm] manupa-arm commented on a change in pull request #10424: [AOT] Introduce checks for return values from operators

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org