diff options
author | Richard Biener <rguenther@suse.de> | 2025-09-04 09:33:58 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-09-04 12:36:30 +0200 |
commit | 56e7010eef88d941c59e3d677b7bc67a890c210d (patch) | |
tree | 7a8b6722032e9a8d745258df84dadd73a4695350 /libgo/go/debug/dwarf/testdata | |
parent | e8969a86c1052e2949028f38daf8e273e7ecb106 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The following changes how we detect double reductions, in particular
not setting vect_double_reduction_def on the outer PHIs when the inner
loop doesn't satisfy double reduction constraints. It also simplifies
the setup a bit by not having to detect wheter we process an inner
loop of a double reduction.
PR tree-optimization/121768
* tree-vect-loop.cc (vect_inner_phi_in_double_reduction_p): Remove.
(vect_analyze_scalar_cycles_1): Analyze inner loops of
double reductions immediately and only mark fully recognized
double reductions. Skip already analyzed inner loops.
(vect_is_simple_reduction): Change double_reduc from a flag
to an output of the inner loop PHI and to whether we are
processing an inner loop of a double reduction.
* gcc.dg/vect/pr121768.c: New testcase.
Diffstat (limited to 'libgo/go/debug/dwarf/testdata')
0 files changed, 0 insertions, 0 deletions