From 80a705d46ee27a26fa20d179f07e6c3c59694fe8 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 16 Oct 2007 13:50:08 +0000 Subject: [PATCH] 0 constants don't modify flags anymore [r16233] --- ir/be/ia32/ia32_transform.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c index fab1d4e56..368a262fe 100644 --- a/ir/be/ia32/ia32_transform.c +++ b/ir/be/ia32/ia32_transform.c @@ -2213,17 +2213,16 @@ static ir_node *gen_CopyB(ir_node *node) { size >>= 2; res = new_rd_ia32_Const(dbgi, irg, block, NULL, 0, size); - if(size == 0) { - ir_fprintf(stderr, "Optimisation warning copyb %+F with size <4\n", - node); - set_ia32_flags(res, get_ia32_flags(res) | arch_irn_flags_modify_flags); - } add_irn_dep(res, get_irg_frame(irg)); res = new_rd_ia32_CopyB(dbgi, irg, block, new_dst, new_src, res, new_mem); /* we misuse the pncode field for the copyb size */ set_ia32_pncode(res, rem); } else { + if(size == 0) { + ir_fprintf(stderr, "Optimisation warning copyb %+F with size <4\n", + node); + } res = new_rd_ia32_CopyB_i(dbgi, irg, block, new_dst, new_src, new_mem); set_ia32_pncode(res, size); } -- 2.20.1