diff --git a/paddle/cinn/frontend/CMakeLists.txt b/paddle/cinn/frontend/CMakeLists.txt index 3641b1d1511db..e04ae9e9851c0 100755 --- a/paddle/cinn/frontend/CMakeLists.txt +++ b/paddle/cinn/frontend/CMakeLists.txt @@ -12,9 +12,6 @@ gather_srcs( program_pass.cc optimize.cc) -gather_srcs(group_pattern_util SRCS group_pattern_util.cc) -cc_library(group_pattern_util SRCS ${group_pattern_util}) - if(NOT WITH_CUDA) cinn_cc_test( test_frontend_syntax diff --git a/paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt b/paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt index 0a94e5630974d..4fa85f8a1057a 100644 --- a/paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt +++ b/paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt @@ -7,7 +7,6 @@ set(cinn_transforms_deps cinn_op_dialect op_dialect_vjp cinn_runtime_dialect - group_pattern_util pir_compiler) cinn_cc_library(cinn_transforms SRCS ${cinn_transforms_srcs} DEPS 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 bba2c6023ea12..580e344259ee6 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 @@ -28,8 +28,8 @@ #include "paddle/cinn/hlir/dialect/operator/transforms/cinn_group_cluster_pass.h" -#include "paddle/cinn/frontend/group_pattern.h" -#include "paddle/cinn/frontend/group_pattern_util.h" +#include "paddle/cinn/frontend/cluster_ops/cluster_ops.h" +#include "paddle/cinn/frontend/cluster_ops/group_pattern.h" #include "paddle/cinn/hlir/dialect/operator/ir/attribute_storage.h" #include "paddle/cinn/hlir/dialect/operator/ir/cinn_op.h" #include "paddle/cinn/hlir/dialect/operator/ir/manual_op.h" diff --git a/paddle/cinn/hlir/framework/pir/trivial_op_impl.cc b/paddle/cinn/hlir/framework/pir/trivial_op_impl.cc index db1ea258011df..8716acca339cc 100644 --- a/paddle/cinn/hlir/framework/pir/trivial_op_impl.cc +++ b/paddle/cinn/hlir/framework/pir/trivial_op_impl.cc @@ -34,8 +34,6 @@ #include "paddle/fluid/pir/dialect/operator/ir/op_type.h" #include "paddle/pir/include/dialect/control_flow/ir/cf_op.h" -// #include "paddle/cinn/frontend/group_pattern_util.h" - namespace cinn { namespace hlir { namespace framework { diff --git a/paddle/cinn/hlir/framework/pir/trivial_op_impl.h b/paddle/cinn/hlir/framework/pir/trivial_op_impl.h index db46d52d3e447..bcbd982199f80 100644 --- a/paddle/cinn/hlir/framework/pir/trivial_op_impl.h +++ b/paddle/cinn/hlir/framework/pir/trivial_op_impl.h @@ -34,8 +34,6 @@ #include "paddle/fluid/pir/dialect/operator/ir/op_type.h" #include "paddle/pir/include/dialect/control_flow/ir/cf_op.h" -// #include "paddle/cinn/frontend/group_pattern_util.h" - namespace cinn { namespace hlir { namespace framework {