From: Götz Lindenmaier Date: Fri, 19 Nov 2004 12:24:31 +0000 (+0000) Subject: changed output X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fd5bd82ee576ea4d2c5cde755e14dd8a5af5de7c;p=libfirm changed output [r4448] --- diff --git a/ir/ana/interval_analysis.c b/ir/ana/interval_analysis.c index 5e9066827..c5e42c8f7 100644 --- a/ir/ana/interval_analysis.c +++ b/ir/ana/interval_analysis.c @@ -9,6 +9,7 @@ #include "irnode.h" #include "irdump_t.h" #include "irdom.h" +#include "irflag.h" /*------------------------------------------------------------------*/ /* A new in array via a hashmap. */ @@ -214,6 +215,11 @@ static void construct_interval_block(ir_node *b, ir_loop *l) { for (i = 0; i < n_cfgpreds; ++i) { if (is_backedge(b, i)) { + if (b != get_loop_element(l, 0).node) { + if (get_firm_verbosity()) { + printf("Loophead not at loop position 0. "); DDMN(b); + } + } /* There are no backedges in the interval decomposition. */ add_region_in(b, NULL); continue; @@ -232,6 +238,11 @@ static void construct_interval_block(ir_node *b, ir_loop *l) { } else { int found = find_inner_loop(b, l, pred, cfop); if (!found) { + if (b != get_loop_element(l, 0).node) { + if (get_firm_verbosity()) { + printf("Loop entry not at loop position 0. "); DDMN(b); + } + } found = find_outer_loop(l, pred_l, pred, cfop); if (found) add_region_in(b, NULL); /* placeholder */ }