Commit ee1f0a6b by yb9976

### Simplified code and fixed comments.

parent 2ca226ab
 ... @@ -5725,37 +5725,22 @@ static ir_node *transform_node_Mux(ir_node *n) ... @@ -5725,37 +5725,22 @@ static ir_node *transform_node_Mux(ir_node *n) } } if (is_Cmp(sel) && mode_is_int(mode) && is_cmp_equality_zero(sel)) { if (is_Cmp(sel) && mode_is_int(mode) && is_cmp_equality_zero(sel)) { ir_relation relation = get_Cmp_relation(sel); ir_relation relation = get_Cmp_relation(sel); ir_node *cmp_r = get_Cmp_right(sel); ir_node *cmp_r = get_Cmp_right(sel); ir_node *cmp_l = get_Cmp_left(sel); ir_node *cmp_l = get_Cmp_left(sel); ir_node *block = get_nodes_block(n); if (is_And(cmp_l) && f == cmp_r) { if (is_And(cmp_l) && f == cmp_r) { ir_node *and_l = get_And_left(cmp_l); ir_node *and_r = get_And_right(cmp_l); ir_node *and_r = get_And_right(cmp_l); ir_node *and_l; if (and_r == t && is_single_bit(and_r)) { if ((and_l == t || and_r == t) && is_single_bit(t)) { if (relation == ir_relation_equal) { /* Mux((a & (1<
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!