]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move compute_alias_check_pairs to tree-data-ref.c
authorFrederik Harwath <frederik@codesourcery.com>
Tue, 16 Nov 2021 15:14:41 +0000 (16:14 +0100)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:46 +0000 (14:11 +0100)
commit5a7dd46fcf1d7611bd0ef284419c69567a2c0b27
tree4fdcf779968429b3049f00848b2f08844dcc44a4
parent9a77a1c4aad36bfb403433e5df567b94ee3e2257
Move compute_alias_check_pairs to tree-data-ref.c

Move this function from tree-loop-distribution.c to tree-data-ref.c
and make it non-static to enable its use from other parts of GCC.

gcc/ChangeLog:
* tree-loop-distribution.cc (data_ref_segment_size): Remove function.
(latch_dominated_by_data_ref): Likewise.
(compute_alias_check_pairs): Likewise.

* tree-data-ref.cc (data_ref_segment_size): New function,
copied from tree-loop-distribution.c
(compute_alias_check_pairs): Likewise.
(latch_dominated_by_data_ref): Likewise.

* tree-data-ref.h (compute_alias_check_pairs): New declaration.
gcc/ChangeLog.omp
gcc/tree-data-ref.cc
gcc/tree-data-ref.h
gcc/tree-loop-distribution.cc