wrong irn number in ilp variable name
authorAdam Szalkowski <adam@ipd.info.uni-karlsruhe.de>
Mon, 5 Jun 2006 14:00:05 +0000 (14:00 +0000)
committerAdam Szalkowski <adam@ipd.info.uni-karlsruhe.de>
Mon, 5 Jun 2006 14:00:05 +0000 (14:00 +0000)
ir/be/bespillremat.c

index 6a75d7b..25c5387 100644 (file)
@@ -66,7 +66,7 @@
 #define NO_SINGLE_USE_REMATS /* do not repair schedule */
 //#define KEEPALIVE_SPILLS
 //#define KEEPALIVE_RELOADS
-//#define GOODWIN_REDUCTION
+#define GOODWIN_REDUCTION
 
 #define  SOLVE
 //#define  SOLVE_LOCAL
@@ -1919,7 +1919,7 @@ fertig:
        if(get_Block_n_cfgpreds(bb) == 1 && get_block_n_succs(get_Block_cfgpred_block(bb,0)) > 1) {
 #endif
                pset_foreach(live, irn) {
-                       ir_snprintf(buf, sizeof(buf), "req_spill_%N_%N", spill->irn, bb);
+                       ir_snprintf(buf, sizeof(buf), "req_spill_%N_%N", irn, bb);
                        cst = lpp_add_cst(si->lpp, buf, lpp_less, 0.0);
 
                        spill = set_find_spill(spill_bb->ilp, irn);