I take a look at the function StmtSimplifier::VisitStmt_ in simplify.cc, it don't use an api similar to *getUser* in llvm to get the user op of store op. so my question: Is there similar api in tvm to get the def-use chain ? ``` // eliminate useless stores Stmt StmtSimplifier::VisitStmt_(const StoreNode* op) { Stmt stmt = Parent::VisitStmt_(op); op = stmt.as<StoreNode>(); if (const LoadNode* load = op->value.as<LoadNode>()) { if (load->buffer_var.same_as(op->buffer_var) && ExprDeepEqual()(load->index, op->index)) { return Evaluate(0); } } return GetRef<Stmt>(op); } ```
--- [Visit Topic](https://discuss.tvm.apache.org/t/api-does-the-tvm-has-use-def-chain/18426/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/87b23dbef2d3c79ad20487029b9af0fc7b7a2bded0249c5c208ba751d11619d0).