Loop distribution fix for SCC detection
commitbc390ae72ff974d6985639b5b392f6e9192c2ee7
authorRichard Biener <rguenther@suse.de>
Tue, 14 Nov 2023 11:53:18 +0000 (14 12:53 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 14 Nov 2023 12:44:56 +0000 (14 13:44 +0100)
tree27a9e3ca377d5676728e52b573e218491b1ff7f0
parent5ea2965b499f9e491e45db19fedbccfccb75076a
Loop distribution fix for SCC detection

The following adjusts data_dep_in_cycle_p to properly consider the
whole loop nest when looking for data dep cycles and exempting
zero-distance DDRs instead of just the outermost loop.

* tree-loop-distribution.cc (loop_distribution::data_dep_in_cycle_p):
Consider all loops in the nest when looking for
lambda_vector_zerop.
gcc/tree-loop-distribution.cc