From: Matthias Braun Date: Thu, 4 Oct 2007 11:35:21 +0000 (+0000) Subject: fixed deconv (always stop at nodes with multiple outs X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4c6e6acefbe847a35c86fe9d49e013e77a1b926d;p=libfirm fixed deconv (always stop at nodes with multiple outs [r16073] --- diff --git a/ir/opt/convopt.c b/ir/opt/convopt.c index f829095a8..3e85fd2ef 100644 --- a/ir/opt/convopt.c +++ b/ir/opt/convopt.c @@ -107,9 +107,6 @@ int get_conv_costs(const ir_node *node, ir_mode *dest_mode) } if (get_irn_n_edges(node) > 1) { - if (is_Conv(node) && is_downconv(get_irn_mode(node), dest_mode)) { - return get_conv_costs(get_Conv_op(node), dest_mode) - 1; - } DB((dbg, LEVEL_3, "multi outs at %+F\n", node)); return 1; } @@ -179,9 +176,6 @@ ir_node *conv_transform(ir_node *node, ir_mode *dest_mode) } if (get_irn_n_edges(node) > 1) { - if (is_Conv(node) && is_downconv(get_irn_mode(node), dest_mode)) { - return conv_transform(get_Conv_op(node), dest_mode); - } return place_conv(node, dest_mode); }