summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-03-11 20:50:32 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-03-11 20:50:32 +0100
commitbf6f3ad3e21b759d2b28a49312c37a60119bfe7b (patch)
tree2ecb8eb744b45f6ec90fcd399e4597b3981db28a /ir/be/benode.c
parent019b2541b1c3b94e12cd294131d959f6d8298f5a (diff)
Do not optimize phi.
This fixes backend/spill_phi2.c.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index c3092a2..0e8d247 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -456,7 +456,7 @@ ir_node *be_complete_Phi(ir_node *const phi, unsigned const n_ins, ir_node **con
info->in_reqs = in_reqs;
verify_new_node(phi);
- return optimize_node(phi);
+ return phi;
}
void be_set_phi_reg_req(ir_node *node, const arch_register_req_t *req)