summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belistsched.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-12-26 19:26:04 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-12 10:54:48 +0100
commit34c76679d597fdfed1a523279359ede9b261693a (patch)
treecc14efa00a5daa5897928e16044435286f1aa53a /ir/be/belistsched.c
parent1ae6d18b68ca36457db8cd42e3bf5e3d49d98f1c (diff)
ir: Remove dependency edges.
Diffstat (limited to 'ir/be/belistsched.c')
-rw-r--r--ir/be/belistsched.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ir/be/belistsched.c b/ir/be/belistsched.c
index befca2d..c74bf6a 100644
--- a/ir/be/belistsched.c
+++ b/ir/be/belistsched.c
@@ -100,12 +100,6 @@ static void try_make_ready(ir_node *node)
&& !is_available(op))
return;
}
- for (int i = 0, n_deps = get_irn_n_deps(node); i < n_deps; ++i) {
- ir_node *op = get_irn_dep(node, i);
- if (!is_Block(op) && get_nodes_block(op) == current_block
- && !is_available(op))
- return;
- }
}
node_ready(node);
}
@@ -123,12 +117,6 @@ static void make_available(ir_node *node)
&& !is_Phi(user))
try_make_ready(user);
}
- foreach_out_edge_kind(node, edge, EDGE_KIND_DEP) {
- ir_node *user = get_edge_src_irn(edge);
- if (!is_Block(user) && get_nodes_block(user) == current_block
- && !is_Phi(user))
- try_make_ready(user);
- }
}
static void maybe_add_cfop(void)