From: Michael Beck Date: Tue, 11 Nov 2008 15:59:10 +0000 (+0000) Subject: - BugFix: get the mode from Cmp operand when calculating the negated pnc X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4068d0cf93a5e37ab0b544e364bfd71ab7c966ce;p=libfirm - BugFix: get the mode from Cmp operand when calculating the negated pnc [r23575] --- diff --git a/ir/ana/irconsconfirm.c b/ir/ana/irconsconfirm.c index de475349d..8623e9a18 100644 --- a/ir/ana/irconsconfirm.c +++ b/ir/ana/irconsconfirm.c @@ -397,6 +397,7 @@ static void insert_Confirm_in_block(ir_node *block, void *env) { if (get_Proj_proj(proj) != pn_Cond_true) { /* it's the false branch */ + mode = get_irn_mode(get_Cmp_left(cmp)); pnc = get_negated_pnc(pnc, mode); } DB((dbg, LEVEL_2, "At %+F using %+F Confirm %=\n", block, cmp, pnc));