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: Simplify 3*x == 3*y for wrapping types


On Mon, 26 Jun 2017, Richard Biener wrote:

I think the mults don't need :c as we should canonicalize the constant
to 2nd operand.

Oups, I copied the transformation above (which does need :c) and didn't notice it was there. Good catch, thanks.

--
Marc Glisse


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