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 tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
             Blocks|22586                       |
         Depends on|                            |22586

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-13 03:20:53 UTC ---
I am not working on this any more.  This really should be done correctly in
FRE/PRE when looking up SSA_NAME * 4, and SSA_NAME is defined by a PLUS_EXPR
with a constant, lookup the inner most SSA_NAME *4.  Which is what PR 22586 is
talking about.

I might work towards that but not with my tree combine branch.


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