projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e72888
)
Fixed creation of Copy before Call
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Apr 2006 11:30:16 +0000
(11:30 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Apr 2006 11:30:16 +0000
(11:30 +0000)
ir/be/bechordal.c
patch
|
blob
|
history
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
b148380
..
1ac2f80
100644
(file)
--- a/
ir/be/bechordal.c
+++ b/
ir/be/bechordal.c
@@
-317,9
+317,10
@@
static ir_node *pre_process_constraints(be_chordal_alloc_env_t *alloc_env, be_in
which also occur as output constraints, so insert a copy.
*/
if(bitset_popcnt(bs) > 0) {
- copy
= be_new_Copy(op->req.cls, env->irg, bl, op->carrier);
-
insn->ops[i].
carrier = copy;
+ copy = be_new_Copy(op->req.cls, env->irg, bl, op->carrier);
+
op->
carrier = copy;
sched_add_before(insn->irn, copy);
+ set_irn_n(insn->irn, op->pos, op->carrier);
DBG((dbg, LEVEL_2, "adding copy for interfering and constrained op %+F\n", op->carrier));
}