projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0ad7a38
)
don't call be_spill_phis for phis of other reg classes
author
Matthias Braun
<matze@braunis.de>
Thu, 29 Mar 2007 12:08:54 +0000
(12:08 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 29 Mar 2007 12:08:54 +0000
(12:08 +0000)
ir/be/bespillbelady.c
patch
|
blob
|
history
diff --git
a/ir/be/bespillbelady.c
b/ir/be/bespillbelady.c
index
1bc57e6
..
b91c645
100644
(file)
--- a/
ir/be/bespillbelady.c
+++ b/
ir/be/bespillbelady.c
@@
-377,6
+377,9
@@
static loc_t to_take_or_not_to_take(belady_env_t *env, ir_node* first,
assert(is_Phi(node));
loc.time = USES_INFINITY;
DBG((dbg, DBG_START, " %+F not taken (dead)\n", node));
+ if(is_Phi(node)) {
+ be_spill_phi(env->senv, node);
+ }
return loc;
}
@@
-431,8
+434,6
@@
static void compute_live_ins(ir_node *block, void *data) {
ARR_APP1(loc_t, delayed, loc);
else
ARR_APP1(loc_t, starters, loc);
- } else {
- be_spill_phi(env->senv, irn);
}
}