From 59e2d36967edfaaa770afdf3d498bed3b39e55ee Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 4 Dec 2012 16:55:39 +0100 Subject: [PATCH] beuses: Remove stale start loop test. --- ir/be/beuses.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ir/be/beuses.c b/ir/be/beuses.c index 2b825701f..ab1484f3e 100644 --- a/ir/be/beuses.c +++ b/ir/be/beuses.c @@ -275,8 +275,6 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from, unsigned loopdepth = get_loop_depth(loop); int found_visited = 0; int found_use = 0; - ir_graph *irg = get_irn_irg(block); - ir_node *startblock = get_irg_start_block(irg); result.before = NULL; outermost_loop = loopdepth; @@ -286,9 +284,6 @@ static be_next_use_t get_next_use(be_uses_t *env, ir_node *from, ir_loop *succ_loop; unsigned use_dist; - if (succ_block == startblock) - continue; - DBG((env->dbg, LEVEL_5, "Checking succ of block %+F: %+F (for use of %+F)\n", block, succ_block, def)); if (!be_is_live_in(env->lv, succ_block, def)) { //next_use = USES_INFINITY; -- 2.20.1