This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/37516] ~(-2 - a) is not being optimized into a + 1
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Feb 2012 00:49:54 +0000
- Subject: [Bug rtl-optimization/37516] ~(-2 - a) is not being optimized into a + 1
- Auto-submitted: auto-generated
- References: <bug-37516-4@http.gcc.gnu.org/bugzilla/>
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.