register slots are now automatically allocated together with the $ARCH_attribute
[libfirm] / ir / be / belistsched.c
index aecf320..47b510a 100644 (file)
@@ -696,6 +696,9 @@ static int is_root(ir_node *root, ir_node *block) {
 
                if (is_Block(succ))
                        continue;
+               /* Phi nodes are always in "another block */
+               if (is_Phi(succ))
+                       continue;
                if (get_nodes_block(succ) == block)
                        return 0;
        }