tree-loop-distribution.c (params.h): Include header file.
authorBin Cheng <bin.cheng@arm.com>
Wed, 5 Jul 2017 11:56:04 +0000 (11:56 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 5 Jul 2017 11:56:04 +0000 (11:56 +0000)
commit9fafb14af6ca07c4f102cf9ba4afeb51715083e4
tree4dc745dda6f4ecef5a0b44879c20a4228febaeef
parent4084ea5fc528fd4a3c11b4aad15f5fa7bca0e699
tree-loop-distribution.c (params.h): Include header file.

* tree-loop-distribution.c (params.h): Include header file.
(MAX_DATAREFS_NUM, DR_INDEX): New macro.
(datarefs_vec): New global var.
(create_rdg_vertices): Use datarefs_vec directly.
(free_rdg): Don't free data references.
(build_rdg): Update use.  Don't free data references.
(distribute_loop): Compute global variable for data references.
Bail out if there are too many data references.

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