Skip to content

Commit

Permalink
error out LiftAttrScope for now
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Feb 10, 2021
1 parent a71066d commit 00c17d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tir/transforms/lift_attr_scope.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ class AttrScopeLifter : public StmtMutator {
}
}

Stmt VisitStmt_(const WhileNode* op) final {
// TODO(masahi): Do we need a special handling for While nodes?
LOG(FATAL) << "WhileNode not supported in LiftAttrScope.";
return Stmt();
}

private:
// value comparison that also compares content of int constant
static bool ValueSame(const PrimExpr& a, const PrimExpr& b) {
Expand Down

0 comments on commit 00c17d9

Please sign in to comment.