Commit 4068d0cf authored by Michael Beck's avatar Michael Beck
Browse files

- BugFix: get the mode from Cmp operand when calculating the negated pnc

[r23575]
parent aa1dfd2a
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment