From: Christoph Mallon Date: Tue, 18 Sep 2007 19:25:11 +0000 (+0000) Subject: Remove a redundant test: The mode of the op of a Not must match the mode of the Not. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=43892e6c6e0b64dcec8988ac794f94175b783af3;p=libfirm Remove a redundant test: The mode of the op of a Not must match the mode of the Not. [r15876] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index d772bb178..bd7fed373 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -3083,7 +3083,6 @@ static ir_node *transform_node_Not(ir_node *n) { /* check for a boolean Not */ if ( (get_irn_mode(n) == mode_b) && (op_a == op_Proj) - && (get_irn_mode(a) == mode_b) && (get_irn_op(get_Proj_pred(a)) == op_Cmp)) { /* We negate a Cmp. The Cmp has the negated result anyways! */ n = new_r_Proj(current_ir_graph, get_irn_n(n, -1), get_Proj_pred(a),