Fix loop distribution bug with merging edges that creates too many edges.
authorJim Wilson <jim.wilson@linaro.org>
Thu, 10 Nov 2016 15:20:59 +0000 (15:20 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 10 Nov 2016 15:20:59 +0000 (07:20 -0800)
commitdd18c8c32a865a5432338d1959afefa42bebb718
tree38eb3a996aa140e8305bd762262d03601489a352
parentb4c3a85be96585374bf95c981ba2f602667cf5b7
Fix loop distribution bug with merging edges that creates too many edges.

gcc/
* tree-loop-distribution.c (pg_add_dependence_edges): Return 2 if
this_dir is 2.  Check for this_dir non-zero before dir != this_dir
check.

From-SVN: r242038
gcc/ChangeLog
gcc/tree-loop-distribution.c