Commit 6a70922f authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Removing conv-on-Phi local opt

It leads to remaining Phib nodes later, because
the conv_b_lower operation is instantly reverted, when
it tries to insert a Convb.

parent 8a92d031
......@@ -5281,12 +5281,9 @@ static ir_node *transform_node_Conv(ir_node *n) {
ir_node *c, *oldn = n;
ir_node *a = get_Conv_op(n);
if (is_const_Phi(a)) {
c = apply_conv_on_phi(a, get_irn_mode(n));
if (c) {
return c;
if (is_Phi(a)) {
// let deconv do this
return n;
if (is_Unknown(a)) { /* Conv_A(Unknown_B) -> Unknown_A */
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