Commit 55974aed authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bechordal: Do not re-fetch a value, which we already have.

parent 94bdce79
...@@ -229,7 +229,7 @@ static void pre_spill(be_chordal_env_t *const chordal_env, arch_register_class_t ...@@ -229,7 +229,7 @@ static void pre_spill(be_chordal_env_t *const chordal_env, arch_register_class_t
{ {
chordal_env->cls = cls; chordal_env->cls = cls;
chordal_env->border_heads = pmap_create(); chordal_env->border_heads = pmap_create();
chordal_env->allocatable_regs = bitset_malloc(chordal_env->cls->n_regs); chordal_env->allocatable_regs = bitset_malloc(cls->n_regs);
be_assure_live_chk(irg); be_assure_live_chk(irg);
...@@ -237,7 +237,7 @@ static void pre_spill(be_chordal_env_t *const chordal_env, arch_register_class_t ...@@ -237,7 +237,7 @@ static void pre_spill(be_chordal_env_t *const chordal_env, arch_register_class_t
be_put_allocatable_regs(irg, cls, chordal_env->allocatable_regs); be_put_allocatable_regs(irg, cls, chordal_env->allocatable_regs);
be_timer_push(T_RA_CONSTR); be_timer_push(T_RA_CONSTR);
be_pre_spill_prepare_constr(irg, chordal_env->cls); be_pre_spill_prepare_constr(irg, cls);
be_timer_pop(T_RA_CONSTR); be_timer_pop(T_RA_CONSTR);
dump(BE_CH_DUMP_CONSTR, irg, cls, "constr-pre"); dump(BE_CH_DUMP_CONSTR, irg, cls, "constr-pre");
......
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