[PATCH] Don't lower MIN_EXPR and MAX_EXPR [was Re: GCC Benchmarks (coybench), AMD64 and i686, 14 August 2004]

Steven Bosscher s.bosscher@student.tudelft.nl
Thu Aug 19 08:08:00 GMT 2004


On Thursday 19 August 2004 08:50, Paolo Bonzini wrote:
> > I thought we had this discussion a while ago, and the result was "MIN
> > and MAX are GIMPLE, but we might as well keep the early simplification"
> > for some reason.
>
> Here is a patch to disable it.  I don't see any benefit in it.

IIRC the benefit of lowering is that it may allow you to propagate
the condition and the assignment if you lower the {MIN,MAX}_EXPR.
Have you looked at how your patch affects DOM and GVN-PRE?

Gr.
Steven




More information about the Gcc-patches mailing list