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

[Bug rtl-optimization/37516] ~(-2 - a) is not being optimized into a + 1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37516

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-26 00:49:54 UTC ---
(In reply to comment #5)
> I think def scanning is ok, but all SSA names should be "valueized" via
> a hook first.

I wrote up something quickly (but I want to improve it some more and a little
more formal):
http://gcc.gnu.org/wiki/SSACombine

I am thinking about removing the _loc part of the name of the functions since
there is no function which does not take a location_t.


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