projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc4c5b
)
fixed deconv (always stop at nodes with multiple outs
author
Matthias Braun
<matze@braunis.de>
Thu, 4 Oct 2007 11:35:21 +0000
(11:35 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 4 Oct 2007 11:35:21 +0000
(11:35 +0000)
[r16073]
ir/opt/convopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/convopt.c
b/ir/opt/convopt.c
index
f829095
..
3e85fd2
100644
(file)
--- 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);
}