Commit 67e9a01a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Fix typo in optimize_conv_conv().

This fixes backend/convconv2.c.
This typo was introduced in afd4e3d6.
parent b6f29c87
...@@ -1201,7 +1201,7 @@ static void optimize_conv_conv(ir_node *node) ...@@ -1201,7 +1201,7 @@ static void optimize_conv_conv(ir_node *node)
if (node_attr->size == pred_attr->size if (node_attr->size == pred_attr->size
&& node_attr->sign_extend == pred_attr->sign_extend) { && node_attr->sign_extend == pred_attr->sign_extend) {
result_conv = pred_proj; result_conv = pred_proj;
} else if (node_attr->size < pred_attr->size) { } else if (node_attr->size <= pred_attr->size) {
/* if 2nd conv is smaller then first conv, then we can always take the /* if 2nd conv is smaller then first conv, then we can always take the
* 2nd conv */ * 2nd conv */
if (get_irn_n_edges(pred_proj) == 1) { if (get_irn_n_edges(pred_proj) == 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment