tree-optimization/104114 - avoid diagnosing V1mode lowering
authorRichard Biener <rguenther@suse.de>
Wed, 19 Jan 2022 12:59:21 +0000 (13:59 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 20 Jan 2022 08:04:20 +0000 (09:04 +0100)
commitad4188f8385f86cc04806fb0e26c7da1f5f655b8
tree65a5c9e710ccbbd1eaade7fa14aff5877fd85fc7
parent30f2c22def7392119f1ffaca30ef998b3b43f336
tree-optimization/104114 - avoid diagnosing V1mode lowering

Currently we diagnose vector lowering of V1mode operations that
are not natively supported into V_C_E, scalar op plus CTOR with
-Wvector-operation-performance but that's hardly useful behavior
even though the way we lower things can be improved.

The following disables the diagnostics for the cases the vect.exp
testsuite runs into, on x86 that are vect-cond-11.c and
vect-singleton_1.c.

2022-01-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/104114
* tree-vect-generic.cc (expand_vector_piecewise): Do not diagnose
single element vector decomposition.
gcc/tree-vect-generic.cc