You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by sa...@apache.org on 2023/08/08 08:37:00 UTC
[tvm] branch unity updated: [Unity][Minor] Fix compilation warning (#15504)
This is an automated email from the ASF dual-hosted git repository.
sanirudh pushed a commit to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/unity by this push:
new 5b15824ec5 [Unity][Minor] Fix compilation warning (#15504)
5b15824ec5 is described below
commit 5b15824ec52962b89b45ad7476ddf7925c4951e3
Author: Siyuan Feng <Hz...@sjtu.edu.cn>
AuthorDate: Tue Aug 8 16:36:53 2023 +0800
[Unity][Minor] Fix compilation warning (#15504)
a minor fix for a compilation warning
---
src/relax/transform/fold_dataflow_block_output.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/relax/transform/fold_dataflow_block_output.cc b/src/relax/transform/fold_dataflow_block_output.cc
index dc6e8a68c5..7f734daf04 100644
--- a/src/relax/transform/fold_dataflow_block_output.cc
+++ b/src/relax/transform/fold_dataflow_block_output.cc
@@ -145,7 +145,7 @@ DataflowBlock FoldDataflowBlockOutput(const DataflowBlock& block) {
ExprMutator::VisitBinding_(binding);
};
- void VisitBinding_(const MatchCastNode* binding) {
+ void VisitBinding_(const MatchCastNode* binding) override {
// case 1: if the LHS is a DF node in the candidate map, erase the binding
if (binding->var.as<DataflowVarNode>() &&
candidate_map_.count(Downcast<DataflowVar>(binding->var))) {