@@ -89,6 +89,7 @@ class StmtFunctor<R(const Stmt& n, Args... args)> {
8989 virtual R VisitStmt_ (const AllocateNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
9090 virtual R VisitStmt_ (const StoreNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
9191 virtual R VisitStmt_ (const BufferStoreNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
92+ virtual R VisitStmt_ (const SparseBufferStoreNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
9293 virtual R VisitStmt_ (const BufferRealizeNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
9394 virtual R VisitStmt_ (const AssertStmtNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
9495 virtual R VisitStmt_ (const ProducerStoreNode* op, Args... args) STMT_FUNCTOR_DEFAULT;
@@ -121,6 +122,7 @@ class StmtFunctor<R(const Stmt& n, Args... args)> {
121122 IR_STMT_FUNCTOR_DISPATCH (SeqStmtNode);
122123 IR_STMT_FUNCTOR_DISPATCH (EvaluateNode);
123124 IR_STMT_FUNCTOR_DISPATCH (BufferStoreNode);
125+ IR_STMT_FUNCTOR_DISPATCH (SparseBufferStoreNode);
124126 IR_STMT_FUNCTOR_DISPATCH (BufferRealizeNode);
125127 IR_STMT_FUNCTOR_DISPATCH (BlockNode);
126128 IR_STMT_FUNCTOR_DISPATCH (BlockRealizeNode);
@@ -157,6 +159,7 @@ class TVM_DLL StmtVisitor : protected StmtFunctor<void(const Stmt&)> {
157159 void VisitStmt_ (const AllocateNode* op) override ;
158160 void VisitStmt_ (const StoreNode* op) override ;
159161 void VisitStmt_ (const BufferStoreNode* op) override ;
162+ void VisitStmt_ (const SparseBufferStoreNode* op) override ;
160163 void VisitStmt_ (const BufferRealizeNode* op) override ;
161164 void VisitStmt_ (const AssertStmtNode* op) override ;
162165 void VisitStmt_ (const ProducerStoreNode* op) override ;
@@ -257,6 +260,7 @@ class TVM_DLL StmtMutator : protected StmtFunctor<Stmt(const Stmt&)> {
257260 Stmt VisitStmt_ (const AllocateNode* op) override ;
258261 Stmt VisitStmt_ (const StoreNode* op) override ;
259262 Stmt VisitStmt_ (const BufferStoreNode* op) override ;
263+ Stmt VisitStmt_ (const SparseBufferStoreNode* op) override ;
260264 Stmt VisitStmt_ (const BufferRealizeNode* op) override ;
261265 Stmt VisitStmt_ (const AssertStmtNode* op) override ;
262266 Stmt VisitStmt_ (const ProducerStoreNode* op) override ;
0 commit comments