summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2018-08-27 19:07:36 +0200
committerDaniel Biester <danielbiester@icloud.com>2020-04-20 15:03:36 +0200
commitb1d48f94a9ca2d49f82a6c8bb8fe37b2edb0e9ec (patch)
treef87c612fbf2f0bc2591974dfefa07a1d2ae00856
parent93d0a16c1165866b209fac6b3ec7db61b613f42d (diff)
Actually enable SI optimisation pass.
-rw-r--r--src/firm/firm_opt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firm/firm_opt.c b/src/firm/firm_opt.c
index afa7c72..d193de3 100644
--- a/src/firm/firm_opt.c
+++ b/src/firm/firm_opt.c
@@ -396,7 +396,7 @@ static opt_config_t opts[] = {
IRP("opt-proc-clone", do_cloning, "procedure cloning", OPT_FLAG_NONE),
IRP("remove-unused", garbage_collect_entities, "removal of unused functions/variables", OPT_FLAG_NO_DUMP | OPT_FLAG_NO_VERIFY),
IRP("opt-cc", mark_private_methods, "calling conventions optimization", OPT_FLAG_NONE),
- IRG("ces-si", ces_special_instruction, "CES SI identification", OPT_FLAG_NONE),
+ IRG("ces-si", ces_special_instruction, "CES SI identification", OPT_FLAG_ENABLED),
#undef IRP
#undef IRG
};
@@ -686,6 +686,7 @@ static void do_firm_lowering(void)
do_irg_opt(irg, "memcombine");
do_irg_opt(irg, "local");
do_irg_opt(irg, "frame");
+ do_irg_opt(irg, "ces-si");
}
/* hack so we get global initializers constant folded even at -O0 */
set_opt_constant_folding(1);