[GitHub] [tvm] ganler commented on a diff in pull request #14440: [Unity][Graph matching] Clean up undo stack for parent and child nodes properly

2023-03-30 Thread via GitHub
ganler commented on code in PR #14440: URL: https://github.com/apache/tvm/pull/14440#discussion_r1153886037 ## src/relax/ir/dataflow_matcher.cc: ## @@ -540,33 +541,48 @@ struct RNode { /** * \brief This method try to match a real node and a pattern node along with its neighb

[GitHub] [tvm] ganler commented on a diff in pull request #14440: [Unity][Graph matching] Clean up undo stack for parent and child nodes properly

2023-03-30 Thread via GitHub
ganler commented on code in PR #14440: URL: https://github.com/apache/tvm/pull/14440#discussion_r1153884888 ## src/relax/analysis/udchain.cc: ## @@ -65,36 +65,36 @@ class UDChain : public relax::ExprVisitor { std::pair>, runtime::Array> FunctionUseDef( const Function& fn)

[GitHub] [tvm] ganler commented on a diff in pull request #14440: [Unity][Graph matching] Clean up undo stack for parent and child nodes properly

2023-03-30 Thread via GitHub
ganler commented on code in PR #14440: URL: https://github.com/apache/tvm/pull/14440#discussion_r1153883716 ## src/relax/ir/dataflow_matcher.cc: ## @@ -540,33 +541,48 @@ struct RNode { /** * \brief This method try to match a real node and a pattern node along with its neighb