Commit 802484dd authored by Michael Beck's avatar Michael Beck
Browse files

Fixed move_consts_up() failure in some contexts (This partly fixes codegen/lea.c).

[r26979]
parent 11ed4c94
......@@ -782,7 +782,8 @@ static int move_consts_up(ir_node **node) {
dbg = dbg == get_irn_dbg_info(l) ? dbg : NULL;
goto transform;
}
} else if (get_irn_op(r) == op) {
}
if (get_irn_op(r) == op) {
/* l .op. (a .op. b) */
a = get_binop_left(r);
b = get_binop_right(r);
......
Supports Markdown
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