X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fboolopt.c;h=a39b3fb7fe333e5de4c7c47ac08e631abbe92df7;hb=edb11cbddcf9e4fef1bde33d576003af8a6a3323;hp=45289d44cb9a08d0c2d08afbc427f1df2449caa4;hpb=e30e5834fd8c1c3a7d28fc66e99b91a84993bde8;p=libfirm diff --git a/ir/opt/boolopt.c b/ir/opt/boolopt.c index 45289d44c..a39b3fb7f 100644 --- a/ir/opt/boolopt.c +++ b/ir/opt/boolopt.c @@ -187,7 +187,7 @@ static ir_node *bool_or(cond_pair *const cpair) return p; } } else if (pnc_lo == pn_Cmp_Eq && pnc_hi == pn_Cmp_Ge) { - /* x == c || c >= c + 1 -> x >= c */ + /* x == c || x >= c + 1 -> x >= c */ ir_graph *const irg = current_ir_graph; ir_node *const block = get_nodes_block(cmp_lo); ir_node *const p = new_r_Proj(irg, block, cmp_lo, mode_b, pn_Cmp_Ge);