Commit 4541cb4a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Remove redundant set_irn_op() calls.

The nodes in question already have this op.
This is some legacy when there were Conv_I2I and Conv_I2I8Bit.
parent cab797cd
......@@ -1032,7 +1032,6 @@ static void optimize_conv_conv(ir_node *node)
/* Argh:We must change the opcode to 8bit AND copy the register constraints */
if (get_mode_size_bits(conv_mode) == 8) {
const arch_register_req_t **reqs = arch_get_irn_register_reqs_in(node);
set_irn_op(pred, op_ia32_Conv_I2I);
arch_set_irn_register_reqs_in(pred, reqs);
}
} else {
......@@ -1047,7 +1046,6 @@ static void optimize_conv_conv(ir_node *node)
/* Argh:We must change the opcode to 8bit AND copy the register constraints */
if (get_mode_size_bits(conv_mode) == 8) {
const arch_register_req_t **reqs = arch_get_irn_register_reqs_in(node);
set_irn_op(result_conv, op_ia32_Conv_I2I);
arch_set_irn_register_reqs_in(result_conv, reqs);
}
}
......
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