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: [Committed] Three comparison constant folding tweaks


> Many thanks to Paolo Bonzini for suggesting this change.

And many thanks to you for getting to it before me.

The third and final improvement is that it adds the optimizations
that "x UNEQ x", "x UNLE x" and "x UNGE x" are always true, and that
"x LTGT x" is always false if we don't honor trapping math.  This
should help Diego's "Linearize COND_EXPRs involving a single SSA_NAME"
patch.

Same as above.


Regards,

Paolo


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