projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd66938
)
reconstruct looptree for belady spiller when needed
author
Matthias Braun
<matze@braunis.de>
Tue, 30 Jan 2007 14:55:39 +0000
(14:55 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 30 Jan 2007 14:55:39 +0000
(14:55 +0000)
ir/be/bespillbelady.c
patch
|
blob
|
history
diff --git
a/ir/be/bespillbelady.c
b/ir/be/bespillbelady.c
index
547de9c
..
7f6248b
100644
(file)
--- a/
ir/be/bespillbelady.c
+++ b/
ir/be/bespillbelady.c
@@
-700,6
+700,10
@@
void be_spill_belady_spill_env(be_irg_t *birg, const arch_register_class_t *cls,
//firm_dbg_set_mask(dbg, DBG_SPILL);
be_assure_liveness(birg);
//firm_dbg_set_mask(dbg, DBG_SPILL);
be_assure_liveness(birg);
+ /* construct control flow loop tree */
+ if(! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {
+ construct_cf_backedges(irg);
+ }
/* init belady env */
obstack_init(&env.ob);
/* init belady env */
obstack_init(&env.ob);