From b5c7bbf1b0c82a0d1b10921919654e16562bd497 Mon Sep 17 00:00:00 2001 From: 6clc Date: Mon, 8 May 2023 11:16:43 +0800 Subject: [PATCH] test(fusion): fix fusion_merge_pass according to new fusion rule --- cinn/hlir/pass/fusion_merge_pass_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinn/hlir/pass/fusion_merge_pass_test.cc b/cinn/hlir/pass/fusion_merge_pass_test.cc index e834da510c..544f86019c 100755 --- a/cinn/hlir/pass/fusion_merge_pass_test.cc +++ b/cinn/hlir/pass/fusion_merge_pass_test.cc @@ -401,7 +401,7 @@ TEST(FusionMergePass, Reduce_Test_2) { auto graph = std::make_shared(program, target); hlir::framework::ApplyPass(graph.get(), "OpFusionPass"); - CHECK_EQ(graph->fusion_groups.size(), 4); + CHECK_EQ(graph->fusion_groups.size(), 3); hlir::framework::ApplyPass(graph.get(), "FusionMergePass"); CHECK_EQ(graph->fusion_groups.size(), 2); }