Commit 0700370d authored by Matthias Braun's avatar Matthias Braun
Browse files

Fix mul/div opt not triggering when we have Projs on both sides

parent 57e10dc3
...@@ -3869,7 +3869,8 @@ static ir_node *transform_node_Mul(ir_node *n) ...@@ -3869,7 +3869,8 @@ static ir_node *transform_node_Mul(ir_node *n)
goto transform_div_mul; goto transform_div_mul;
} }
} }
} else if (is_Proj(b)) { }
if (is_Proj(b)) {
div_proj = b; div_proj = b;
div = get_Proj_pred(div_proj); div = get_Proj_pred(div_proj);
if (is_Div(div)) { if (is_Div(div)) {
......
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