diff options
author | Richard Biener <rguenther@suse.de> | 2024-10-13 15:12:44 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-10-14 08:14:37 +0200 |
commit | 566740013b3445162b8c4bc2205e4e568d014968 (patch) | |
tree | 38fb5482cf9882ae6d559b2685b9de59f3146e61 /gcc/tree-vectorizer.h | |
parent | b717c462b96e7870f8081d2bc330e4749a4b0538 (diff) | |
download | gcc-566740013b3445162b8c4bc2205e4e568d014968.zip gcc-566740013b3445162b8c4bc2205e4e568d014968.tar.gz gcc-566740013b3445162b8c4bc2205e4e568d014968.tar.bz2 |
tree-optimization/116290 - fix compare-debug issue in ldist
Loop distribution does different analysis with -g0/-g due to counting
a debug stmt starting a BB against a limit which will everntually
lead to different IVOPTs choices. I've fixed a possible IVOPTs
issue on the way even though it doesn't make a difference here.
PR tree-optimization/116290
* tree-loop-distribution.cc (determine_reduction_stmt_1): PHIs
have no debug variants. Start with first non-debug real stmt.
* tree-ssa-loop-ivopts.cc (find_givs_in_bb): Do not analyze
debug stmts.
* gcc.dg/pr116290.c: New testcase.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions