diff --git a/paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc b/paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc index 110ccfef63d09e..63115254918165 100644 --- a/paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc +++ b/paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.cc @@ -877,7 +877,6 @@ std::vector OpMergeWithOp(cinn::dialect::GroupOp group_op) { } } for (const auto& op : node_ops_set) { - // TODO(TianChao): Delete const in the definition of pattern.ops cluster_node.ops.push_back(const_cast(op)); } cluster_node.group_kind = is_reduce_node