Lunderberg commented on a change in pull request #10520:
URL: https://github.com/apache/tvm/pull/10520#discussion_r821096417



##########
File path: src/tir/transforms/lower_tvm_builtin.cc
##########
@@ -73,10 +84,19 @@ class StackSizeChecker : public StmtExprVisitor {
       return MakeShape(op);
     } else if (op->op.same_as(builtin::tvm_stack_make_array())) {
       return MakeArray(op);
+    } else if (op->op.same_as(builtin::mem_copy())) {
+      return MakeMemCopy(op);

Review comment:
       Not quite, because the additional string for the name of the PackedFunc 
to execute takes up another spot on the stack.  But since I needed to test it 
in order to convince myself of that, I've added a comment to explain the 
reasoning.




-- 
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]


Reply via email to