tree-loop-distribution.c (ref_base_address): Delete.
authorBin Cheng <bin.cheng@arm.com>
Wed, 5 Jul 2017 11:59:40 +0000 (11:59 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 5 Jul 2017 11:59:40 +0000 (11:59 +0000)
commit95f7d11b0ac6d7f4d82ba4045c6d8a747a23db60
tree0e9dd5382745ad8b9719f64511972efde8e8b8cc
parenta7a44c07369631201744422c02dbe59655201865
tree-loop-distribution.c (ref_base_address): Delete.

* tree-loop-distribution.c (ref_base_address): Delete.
(similar_memory_accesses): Rename ...
(share_memory_accesses): ... to this.  Check if partitions access
the same memory reference.
(distribute_loop): Call share_memory_accesses.

gcc/testsuite
* gcc.dg/tree-ssa/ldist-6.c: XFAIL.

From-SVN: r249990
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-6.c
gcc/tree-loop-distribution.c