summaryrefslogtreecommitdiffhomepage
path: root/ir/be/betranshlp.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 18:55:58 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 22:21:48 +0200
commit6b240a342fb12b37a1639da82728bb816c5793a1 (patch)
treeec32561295e2c287caf67f382b607170d3a210d9 /ir/be/betranshlp.c
parent8d14210e48e14de3b1d7bca00df590ca92700e0b (diff)
be: Introduce a constraint for memory outputs.
Diffstat (limited to 'ir/be/betranshlp.c')
-rw-r--r--ir/be/betranshlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/betranshlp.c b/ir/be/betranshlp.c
index edb607b..1cc1859 100644
--- a/ir/be/betranshlp.c
+++ b/ir/be/betranshlp.c
@@ -63,7 +63,7 @@ ir_node *be_transform_phi(ir_node *node, const arch_register_req_t *req)
* and fix this later */
ir_node **ins = get_irn_in(node)+1;
int arity = get_irn_arity(node);
- ir_mode *mode = req->cls->mode ? req->cls->mode : get_irn_mode(node);
+ ir_mode *mode = req->cls->mode;
ir_node *phi = new_ir_node(dbgi, irg, block, op_Phi, mode, arity, ins);
copy_node_attr(irg, node, phi);