cleanup and fix permutate_values (3-cycles and values being used 2 times with 1 being...
[libfirm] / ir / be / beschedregpress.c
index e86c99a..93ad724 100644 (file)
@@ -290,7 +290,7 @@ static ir_node *reg_pressure_select(void *block_env, ir_nodeset_t *ready_set,
                Ignore branch instructions for the time being.
                They should only be scheduled if there is nothing else.
                */
-               if (!arch_irn_class_is(irn, branch)) {
+               if (!is_cfop(irn)) {
                        int costs = reg_pr_costs(env, irn);
                        if (costs <= curr_cost) {
                                res       = irn;