From d0bb153368997acebe0339c165bec2ec3235581b Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 22:03:48 +0000 Subject: [PATCH] ia32_transform_sub_to_neg_add() now can handle mode_T. [r22771] --- ir/be/ia32/ia32_finish.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ir/be/ia32/ia32_finish.c b/ir/be/ia32/ia32_finish.c index 230a93a09..84a56b576 100644 --- a/ir/be/ia32/ia32_finish.c +++ b/ir/be/ia32/ia32_finish.c @@ -195,6 +195,8 @@ static void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg) } } + set_irn_mode(res, get_irn_mode(irn)); + SET_IA32_ORIG_NODE(res, ia32_get_old_node_name(cg, irn)); /* remove the old sub */ -- 2.20.1