We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58de4a9 commit 7c27af8Copy full SHA for 7c27af8
src/tir/schedule/concrete_schedule.h
@@ -260,7 +260,7 @@ inline T ConcreteScheduleNode::CreateRV(const StmtSRef& sref) {
260
}
261
262
inline ExprRV ConcreteScheduleNode::CreateRV(int64_t value) {
263
- Var rv("v", DataType::Int(32));
+ Var rv("v" + std::to_string(this->symbol_table_.size() + 1), DataType::Int(32));
264
this->symbol_table_.Set(rv, Integer(static_cast<int32_t>(value)));
265
return std::move(rv);
266
0 commit comments