From: Christian Würdig Date: Wed, 30 Aug 2006 08:23:42 +0000 (+0000) Subject: do not invert pnc on cmp in finish, as cmp gets normalized on creation X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=96142cdc748ffe95be2471e3ee6bf0cb323fa359;p=libfirm do not invert pnc on cmp in finish, as cmp gets normalized on creation --- diff --git a/ir/be/ia32/ia32_finish.c b/ir/be/ia32/ia32_finish.c index f5f40e1c7..5e649cbd4 100644 --- a/ir/be/ia32/ia32_finish.c +++ b/ir/be/ia32/ia32_finish.c @@ -330,6 +330,7 @@ insert_copy: we have to change it, as CMP doesn't support immediate as left operands. */ +#if 0 if ((is_ia32_CondJmp(irn) || is_ia32_CmpSet(irn) || is_ia32_xCmpSet(irn)) && (is_ia32_ImmConst(irn) || is_ia32_ImmSymConst(irn)) && op_tp == ia32_AddrModeS) @@ -338,6 +339,7 @@ insert_copy: set_ia32_pncode(irn, get_inversed_pnc(get_ia32_pncode(irn))); } } +#endif end: ; }