icemelon9 commented on a change in pull request #6798:
URL: https://github.com/apache/tvm/pull/6798#discussion_r601892186
##########
File path: src/relay/backend/vm/compiler.cc
##########
@@ -328,6 +328,9 @@ class VMFunctionCompiler : ExprFunctor<void(const Expr&
expr)> {
case Opcode::Move:
case Opcode::InvokeClosure:
case Opcode::DeviceCopy:
+ case Opcode::RefCreate:
+ case Opcode::RefRead:
+ case Opcode::RefWrite:
Review comment:
RefWrite doesn't have last register, right? Maybe set the
`last_register_` to -1?
--
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:
[email protected]