fixed some minor bugs
[libfirm] / ir / be / bechordal_main.c
index 6767885..ad061b2 100644 (file)
@@ -266,9 +266,6 @@ static void be_ra_chordal_main(const be_irg_t *bi)
 
        obstack_init(&chordal_env.obst);
 
-       /* add Keeps for should_be_different constrained nodes */
-       lower_nodes_before_ra(&chordal_env);
-
        /* Perform the following for each register class. */
        for(j = 0, m = arch_isa_get_n_reg_class(isa); j < m; ++j) {
                chordal_env.cls          = arch_isa_get_reg_class(isa, j);
@@ -295,9 +292,6 @@ static void be_ra_chordal_main(const be_irg_t *bi)
                be_liveness(irg);
                be_check_pressure(&chordal_env);
 
-               be_liveness(irg);
-               be_check_pressure(&chordal_env);
-
                /* Color the graph. */
                be_ra_chordal_color(&chordal_env);
                dump(BE_CH_DUMP_CONSTR, irg, chordal_env.cls, "-color", dump_ir_block_graph_sched);
@@ -307,7 +301,6 @@ static void be_ra_chordal_main(const be_irg_t *bi)
                be_ifg_check(chordal_env.ifg);
 
                /* copy minimization */
-               copystat_collect_cls(&chordal_env);
 #ifdef COPYOPT_STAT
                co_compare_solvers(&chordal_env);
 #else