projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde6997
)
make sure backedges are available before dumping them
author
Matthias Braun
<matze@braunis.de>
Mon, 22 Jan 2007 10:59:14 +0000
(10:59 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 22 Jan 2007 10:59:14 +0000
(10:59 +0000)
[r8547]
ir/ir/irdump.c
patch
|
blob
|
history
diff --git
a/ir/ir/irdump.c
b/ir/ir/irdump.c
index
9857f39
..
38b9260
100644
(file)
--- a/
ir/ir/irdump.c
+++ b/
ir/ir/irdump.c
@@
-2330,6
+2330,10
@@
dump_ir_graph(ir_graph *irg, const char *suffix )
if (!is_filtered_dump_name(get_entity_ident(get_irg_entity(irg))))
return;
+ if (dump_backedge_information_flag && get_irg_loopinfo_state(irg) != loopinfo_consistent) {
+ construct_backedges(irg);
+ }
+
rem = current_ir_graph;
current_ir_graph = irg;
if (get_interprocedural_view()) suffix1 = "-pure-ip";