Skip to content

Commit

Permalink
add placeholder to inject_vpthread
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Feb 10, 2021
1 parent 00c17d9 commit 896b02f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tir/transforms/inject_virtual_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@ class VTInjector : public StmtExprMutator {
}
}

// While
Stmt VisitStmt_(const WhileNode* op) final {
// TODO(masahi): Do we need a special handling for While nodes?
return StmtMutator::VisitStmt_(op);
}

// Seq
Stmt VisitStmt_(const SeqStmtNode* op) final {
ICHECK_EQ(max_loop_depth_, 0);
Expand Down

0 comments on commit 896b02f

Please sign in to comment.