From c7dd93bc702009345ce578437911a5a4dfae72ad Mon Sep 17 00:00:00 2001 From: Anh <zenpoems@gmail.com> Date: Tue, 19 Mar 2019 07:19:30 -0700 Subject: [PATCH] Turn off conditional branch optimization, supplanted by Tikir The dominator graph algorith completely makes this optimization obsolete. --- tools/zax/zax_base.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/zax/zax_base.cpp b/tools/zax/zax_base.cpp index 057b5de..f873790 100644 --- a/tools/zax/zax_base.cpp +++ b/tools/zax/zax_base.cpp @@ -1222,9 +1222,12 @@ int ZaxBase_t::execute() if (m_graph_optimize) { + /* + supplanted by Tikir's algorithm: turn on dominator graph option filterConditionalBranches(keepers); if (m_verbose) cout << "num blocks to keep (after filter conditional branches): " << keepers.size() << endl; + */ filterEntryBlock(keepers, entry_block); if (m_verbose) cout << "num blocks to keep (after filter entry): " << keepers.size() << endl; -- GitLab