This is the mail archive of the gcc@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]

Re: Proposed major change to combine


    I think it would also be good to make combine use rtx_cost for
    determining which rewrites to perform.  By requiring each change to
    decrease the rtx_cost, we could do things recursively without risk of
    non-termination.

I don't think combine should do that.  I think combine should continue 
to always decrease the number of insns.  CSE already does as you suggest
and if it had the same simplification routines available to it (which is
what my proposal was aimed at), it would have the effect you want.

    The would open to allow define_split that generate more insns than
    they "consume".

I'm sorry: why would that be useful?  Can you give me an example?


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