Skip to content

Commit 896b02f

Browse files
committed
add placeholder to inject_vpthread
1 parent 00c17d9 commit 896b02f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/tir/transforms/inject_virtual_thread.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,12 @@ class VTInjector : public StmtExprMutator {
333333
}
334334
}
335335

336+
// While
337+
Stmt VisitStmt_(const WhileNode* op) final {
338+
// TODO(masahi): Do we need a special handling for While nodes?
339+
return StmtMutator::VisitStmt_(op);
340+
}
341+
336342
// Seq
337343
Stmt VisitStmt_(const SeqStmtNode* op) final {
338344
ICHECK_EQ(max_loop_depth_, 0);

0 commit comments

Comments
 (0)