diff options
author | Richard Biener <rguenther@suse.de> | 2025-07-10 11:21:26 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-07-10 13:10:31 +0200 |
commit | 31c96621cc307fed1a0a01c0c2f18afaaf50b256 (patch) | |
tree | c043650d7b5acc98a2fc6d12f0bedb1dc7a9a011 /gcc/ada/gcc-interface/utils.cc | |
parent | 13beea469554efcffd0f2cda6f0484a603577f27 (diff) | |
download | gcc-31c96621cc307fed1a0a01c0c2f18afaaf50b256.zip gcc-31c96621cc307fed1a0a01c0c2f18afaaf50b256.tar.gz gcc-31c96621cc307fed1a0a01c0c2f18afaaf50b256.tar.bz2 |
Avoid vect_is_simple_use call from vectorizable_reduction
When analyzing the reduction cycle we look to determine the
reduction input vector type, for lane-reducing ops we look
at the input but instead of using vect_is_simple_use which
is problematic for SLP we should simply get at the SLP
operands vector type. If that's not set and we make up one
we should also ensure it stays so.
* tree-vect-loop.cc (vectorizable_reduction): Avoid
vect_is_simple_use and record a vector type if we come
up with one.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions