diff options
author | Richard Biener <rguenther@suse.de> | 2024-02-22 10:50:12 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-02-22 13:13:48 +0100 |
commit | 549f251f055e3a0b0084189a3012c4f15d635e75 (patch) | |
tree | e920c24546d657aa006b7cb03c5ba1dc9f96cabd /libcpp/include/cpplib.h | |
parent | a0782531b8270f0fdb3f3e09b4ce544d5d1eef14 (diff) | |
download | gcc-549f251f055e3a0b0084189a3012c4f15d635e75.zip gcc-549f251f055e3a0b0084189a3012c4f15d635e75.tar.gz gcc-549f251f055e3a0b0084189a3012c4f15d635e75.tar.bz2 |
tree-optimization/114027 - conditional reduction chain
When we classify a conditional reduction chain as CONST_COND_REDUCTION
we fail to verify all involved conditionals have the same constant.
That's a quite unlikely situation so the following simply disables
such classification when there's more than one reduction statement.
PR tree-optimization/114027
* tree-vect-loop.cc (vecctorizable_reduction): Use optimized
condition reduction classification only for single-element
chains.
* gcc.dg/vect/pr114027.c: New testcase.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions