This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: add missing if-then-else optimization


On Fri, Sep 13, 2002 at 11:39:52AM -0700, Dale Johannesen wrote:
> (Note, to get this to work I also had to change various places
> that insert inline substitutions to do the insertion before
> "cond_earliest", rather than before "jump".  The comments say
> this is what is supposed to happen, and it seems to work.

Nope.  The comments _should_ have all been updated to say "jump".

2002-05-03  Richard Henderson  <rth@redhat.com>

        PR opt/6534
        * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
        noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
        noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
        code before JUMP, not EARLIEST.

I guess I'll have to re-examine the ABS code to see what went wrong.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]