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/49749] Reassociation rank algorithm does not include all non-NULL operands


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

--- Comment #15 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-07-29 18:40:26 UTC ---
Author: wschmidt
Date: Fri Jul 29 18:40:21 2011
New Revision: 176948

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176948
Log:
2011-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    PR tree-optimization/49749
    * tree-ssa-reassoc.c (get_rank): New forward declaration.
    (PHI_LOOP_BIAS): Changed value.
    (phi_loop_bias): Replaced with...
    (phi_rank): ...this new function.
    (loop_carried_phi): New function.
    (propagate_rank): Likewise.
    (get_rank): Replace loop-biasing expression with call to phi_rank;
    remove variable maxrank; replace propagation logic with calls to
    propagate_rank.


Modified:
    branches/ibm/gcc-4_6-branch/gcc/ChangeLog.ibm
    branches/ibm/gcc-4_6-branch/gcc/tree-ssa-reassoc.c


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