aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.c
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@linux.alibaba.com>2020-05-13 11:37:47 +0800
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:03:11 -0300
commit3232fe2b92ca302ce776c07aaf3e8ab0945d080a (patch)
tree1921be7c091c056962be8d4d91e81adac522a22c /gcc/cp/constexpr.c
parent268ae29df560cd9b6c16d02164c8aa33628395e3 (diff)
downloadgcc-3232fe2b92ca302ce776c07aaf3e8ab0945d080a.zip
gcc-3232fe2b92ca302ce776c07aaf3e8ab0945d080a.tar.gz
gcc-3232fe2b92ca302ce776c07aaf3e8ab0945d080a.tar.bz2
Add missing unit dependence vector in data dependence analysis
Current data dependence analysis misses unit distant vector if DRs in DDR have the same invariant access functions. This adds the vector as the constant access function case. 2020-05-13 Bin Cheng <bin.cheng@linux.alibaba.com> PR tree-optimization/94969 gcc/ * tree-data-dependence.c (constant_access_functions): Rename to... (invariant_access_functions): ...this. Add parameter. Check for invariant access function, rather than constant. (build_classic_dist_vector): Call above function. * tree-loop-distribution.c (pg_add_dependence_edges): Add comment. gcc/testsuite/ * gcc.dg/tree-ssa/pr94969.c: New test.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions