Skip to content

Commit 7c27af8

Browse files
committed
Modify ExprRV constructor from int_64t.
1 parent 58de4a9 commit 7c27af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tir/schedule/concrete_schedule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ inline T ConcreteScheduleNode::CreateRV(const StmtSRef& sref) {
260260
}
261261

262262
inline ExprRV ConcreteScheduleNode::CreateRV(int64_t value) {
263-
Var rv("v", DataType::Int(32));
263+
Var rv("v" + std::to_string(this->symbol_table_.size() + 1), DataType::Int(32));
264264
this->symbol_table_.Set(rv, Integer(static_cast<int32_t>(value)));
265265
return std::move(rv);
266266
}

0 commit comments

Comments
 (0)