summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-04-05 23:32:05 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-04-05 23:47:47 +0200
commit32a7a4ee64b0fd954307a7a851da3b2b2d857483 (patch)
treec6ad74ed63198076e11a0a941bd20c63cb9ff4c4 /ir/be/bestate.c
parente9a97113eb3a676ab7980cd77580d33683a0ef50 (diff)
be: Determine mode of new Phi0 from the given register requirement.
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index dffff01..dba789f 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -146,7 +146,7 @@ static void spill_phi(minibelady_env_t *env, ir_node *phi)
/* create a Phi-M */
ir_node *const block = get_nodes_block(phi);
- ir_node *const phim = be_new_Phi0(block, mode_M, arch_memory_req);
+ ir_node *const phim = be_new_Phi0(block, arch_memory_req);
spill_info->spill = phim;
sched_add_after(block, phim);