re PR tree-optimization/49749 (Reassociation rank algorithm does not include all...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 31 Jul 2011 18:58:06 +0000 (18:58 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Sun, 31 Jul 2011 18:58:06 +0000 (18:58 +0000)
commita30596354de502932d005f38551425a86e231f89
tree77efe0580db056a3057fa6ba1fa7b5a84c042452
parent3ee7be4c1949fcc99d309bbb40cf117ac1e39641
re PR tree-optimization/49749 (Reassociation rank algorithm does not include all non-NULL operands)

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): New macro.
(phi_rank): New function.
(loop_carried_phi): Likewise.
(propagate_rank): Likewise.
(get_rank): Add calls to phi_rank and propagate_rank.

From-SVN: r176984
gcc/ChangeLog
gcc/tree-ssa-reassoc.c