- for (i = arch_isa_get_n_reg_class(birg->main_env->arch_env->isa) - 1; i >= 0; --i) {
- const arch_register_class_t *cls = arch_isa_get_reg_class(birg->main_env->arch_env->isa, i);
+ /* construct control flow loop tree */
+ if (! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {
+ construct_cf_backedges(irg);
+ }
+
+ for (i = arch_env_get_n_reg_class(arch_env) - 1; i >= 0; --i) {
+ const arch_register_class_t *cls = arch_env_get_reg_class(arch_env, i);
+ DBG((dbg, LEVEL_1, "\n=====================================================\n", cls->name));
+ DBG((dbg, LEVEL_1, " Computing register pressure for class %s:\n", cls->name));
+ DBG((dbg, LEVEL_1, "=====================================================\n", cls->name));