未验证 提交 5ed7c8a0 编写于 作者: Z zyfncg 提交者: GitHub

Disable ConstantFoldingPass in pattern_rewrite_test (#57047)

上级 f6463eaa
...@@ -1114,7 +1114,7 @@ TEST(pattern_rewrite, Patterns) { ...@@ -1114,7 +1114,7 @@ TEST(pattern_rewrite, Patterns) {
ir::PassManager pm(ctx); ir::PassManager pm(ctx);
pm.AddPass(std::make_unique<TestPass>()); pm.AddPass(std::make_unique<TestPass>());
pm.AddPass(ir::CreateConstantFoldingPass()); // pm.AddPass(ir::CreateConstantFoldingPass());
pm.AddPass(ir::CreateDeadCodeEliminationPass()); pm.AddPass(ir::CreateDeadCodeEliminationPass());
pm.AddPass(ir::CreateReorderBlockOpsPass()); pm.AddPass(ir::CreateReorderBlockOpsPass());
pm.EnablePassTiming(); pm.EnablePassTiming();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册