re PR tree-optimization/80928 (SLP vectorization does not handle induction in outer...
authorRichard Biener <rguenther@suse.de>
Mon, 26 Jun 2017 07:19:37 +0000 (07:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Jun 2017 07:19:37 +0000 (07:19 +0000)
commit25853b33482749fb6a07336ea3790a45cc1752f7
treefb16b8aa818baf168138b04424264d43e2164300
parentddc36d5a1def2504956a9b40f31f09c5873e6349
re PR tree-optimization/80928 (SLP vectorization does not handle induction in outer loop vectorization)

2017-06-26  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/80928
* cfghooks.c (duplicate_block): Do not copy BB_DUPLICATED flag.
(copy_bbs): Set BB_DUPLICATED flag early.
(execute_on_growing_pred): Do not execute for BB_DUPLICATED
marked blocks.
(execute_on_shrinking_pred): Likewise.
* tree-ssa.c (ssa_redirect_edge): Do not look for PHI args in
BB_DUPLICATED blocks.
* tree-ssa-phionlycoprop.c (eliminate_degenerate_phis_1): Properly
iterate over all PHIs considering removal of *gsi.

From-SVN: r249638
gcc/ChangeLog
gcc/cfghooks.c
gcc/tree-ssa-phionlycprop.c
gcc/tree-ssa.c