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:
faff00b
)
bugfix
author
Daniel Grund
<grund@cs.uni-saarland.de>
Thu, 28 Jul 2005 15:16:45 +0000
(15:16 +0000)
committer
Daniel Grund
<grund@cs.uni-saarland.de>
Thu, 28 Jul 2005 15:16:45 +0000
(15:16 +0000)
ir/be/bedupl.c
patch
|
blob
|
history
diff --git
a/ir/be/bedupl.c
b/ir/be/bedupl.c
index
8ed7d8d
..
3983e94
100644
(file)
--- a/
ir/be/bedupl.c
+++ b/
ir/be/bedupl.c
@@
-33,7
+33,7
@@
static void eliminate_phi_int_walker(ir_node *irn, void *data)
ir_node *operand = get_irn_n(irn, i);
ir_node *bl = get_Block_cfgpred_block(phi_bl, i);
- if(values_interfere(irn, operand)) {
+ if(
is_live_in(phi_bl, irn)) { //
values_interfere(irn, operand)) {
ir_node *copy = new_Copy(env->main_env->node_factory, cls, env->irg, bl, operand);
set_irn_n(irn, i, copy);
sched_add_after(sched_last(bl), copy);