From: Christoph Mallon Date: Tue, 18 Sep 2007 20:40:12 +0000 (+0000) Subject: Remove a redundant test: The mode of an operand of an Eor must match the mode of... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6b91f5d25b8eabae39539fa9cac85d6be0dc62dc;p=libfirm Remove a redundant test: The mode of an operand of an Eor must match the mode of the Eor. [r15878] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index bdf6343b8..8b5719abb 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -3046,7 +3046,6 @@ static ir_node *transform_node_Eor(ir_node *n) { DBG_OPT_ALGSIM0(oldn, n, FS_OPT_EOR_A_A); } else if (mode == mode_b && is_Proj(a) && - get_irn_mode(a) == mode_b && is_Const(b) && is_Const_one(b) && is_Cmp(get_Proj_pred(a))) { /* The Eor negates a Cmp. The Cmp has the negated result anyways! */