From: Michael Beck Date: Sat, 30 May 2009 15:29:03 +0000 (+0000) Subject: - lftr() is still buggy X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=49703d116401e0ceb30dc364e24b5df262b43647;p=libfirm - lftr() is still buggy [r26074] --- diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index 63a91f020..a7701cd02 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -1325,6 +1325,8 @@ void remove_phi_cycles(ir_graph *irg) { * Post-walker: fix Add and Sub nodes that where results of I<->P conversions. */ static void fix_adds_and_subs(ir_node *irn, void *ctx) { + (void) ctx; + if (is_Add(irn)) { ir_mode *mode = get_irn_mode(irn); @@ -1433,7 +1435,8 @@ void opt_osr(ir_graph *irg, unsigned flags) { irg_walk_graph(irg, NULL, fix_adds_and_subs, &env); /* try linear function test replacements */ - lftr(irg, &env); + //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));