Commit 693d8f30 authored by Matthias Braun's avatar Matthias Braun
Browse files

- Schedule memperm node

- Fix spillslot coalescing timer not being displayed
parent 5e2581b0
......@@ -379,7 +379,7 @@ static be_ra_timer_t *be_ra_chordal_main(const be_irg_t *bi)
ra_timer.t_epilog = lc_timer_register("ra_epilog", "regalloc epilog");
ra_timer.t_live = lc_timer_register("ra_liveness", "be liveness");
ra_timer.t_spill = lc_timer_register("ra_spill", "spiller");
ra_timer.t_spillslots = lc_timer_register("ra_spill", "spillslots");
ra_timer.t_spillslots = lc_timer_register("ra_spillslots", "spillslots");
ra_timer.t_color = lc_timer_register("ra_color", "graph coloring");
ra_timer.t_ifg = lc_timer_register("ra_ifg", "interference graph");
ra_timer.t_copymin = lc_timer_register("ra_copymin", "copy minimization");
......
......@@ -582,6 +582,7 @@ static void be_main_loop(FILE *file_handle)
LC_EMIT_RA(ra_timer->t_prolog);
LC_EMIT_RA(ra_timer->t_live);
LC_EMIT_RA(ra_timer->t_spill);
LC_EMIT_RA(ra_timer->t_spillslots);
LC_EMIT_RA(ra_timer->t_color);
LC_EMIT_RA(ra_timer->t_ifg);
LC_EMIT_RA(ra_timer->t_copymin);
......
......@@ -21,6 +21,7 @@
#include "irdump_t.h"
#include "benode_t.h"
#include "besched.h"
#include "bespillslots.h"
#include "bechordal_t.h"
#include "bejavacoal.h"
......@@ -660,7 +661,9 @@ static void create_memperms(ss_env_t *env) {
proj = new_Proj(mempermnode, get_irn_mode(arg), i);
set_irn_n(entry->node, entry->pos, proj);
}
ir_printf("Memperm created in block %+F\n", memperm->block);
// insert node into schedule
sched_add_before(sched_last(memperm->block), mempermnode);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment