X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_osr.c;h=7144e18fed36bf2cc8c772549e11fdaccd1c5392;hb=c7dc950ac0cdd7d24acffb798b5867d0db5dd7c8;hp=68591a992c994f49fe193dbc2732ba3b1e5259c6;hpb=5cfae452fbf4a89b675820a52adbbd5b3e2c2a2f;p=libfirm diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index 68591a992..7144e18fe 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -469,6 +469,7 @@ static int replace(ir_node *irn, ir_node *iv, ir_node *rc, iv_env *env) { return 0; } +#if 0 /** * check if a given node is a mul with 2, 4, 8 */ @@ -494,6 +495,7 @@ static int is_x86_shift_const(ir_node *mul) { } return 0; } +#endif /** * Check if an IV represents a counter with constant limits. @@ -1296,6 +1298,7 @@ void opt_osr(ir_graph *irg, unsigned flags) { if (env.replaced) { /* try linear function test replacements */ //lftr(irg, &env); // currently buggy :-( + (void) lftr; set_irg_outs_inconsistent(irg); DB((dbg, LEVEL_1, "Replacements: %u + %u (lftr)\n\n", env.replaced, env.lftr_replaced));