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 2020/12/10 20:49:50 UTC

[GitHub] [tvm] junrushao1994 commented on a change in pull request #7084: [WIP][TIR] Support Return in TIR

junrushao1994 commented on a change in pull request #7084:
URL: https://github.com/apache/tvm/pull/7084#discussion_r540486888



##########
File path: include/tvm/tir/builtin.h
##########
@@ -41,6 +41,10 @@ namespace tir {
 
 /*! \brief Collection of builtin intrinsics as ops */
 namespace builtin {
+/*!
+ * \brief Return value.
+ */
+TVM_DLL const Op& myreturn();

Review comment:
       I think `tir.ret` looks better




----------------------------------------------------------------
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:
users@infra.apache.org