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



##########
File path: src/tir/schedule/concrete_schedule.h
##########
@@ -251,23 +259,12 @@ inline T ConcreteScheduleNode::CreateRV(const StmtSRef& 
sref) {
   return std::move(rv);
 }
 
-inline ExprRV ConcreteScheduleNode::CreateRV(const PrimExpr& expr) {
-  ExprRV rv;
-  this->symbol_table_.Set(rv, expr);
+inline ExprRV ConcreteScheduleNode::CreateRV(int64_t value) {
+  Var rv("v", DataType::Int(32));

Review comment:
       Let's give the variable a more informative number, like
   
   ```C++
     Var rv("v" + std::to_string(this->symbol_table_.size() + 1), 
DataType::Int(32));
   ```




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