diff options
author | Richard Biener <rguenther@suse.de> | 2022-04-06 11:18:12 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-04-08 08:34:06 +0200 |
commit | b789c44c6463452900f7b1e6d2a0af6567534bfc (patch) | |
tree | 6dccf4cb568a33ccaf72da90a03eafaa0cc552a1 /libgcc | |
parent | df00d10320c5283e68ecd39e2825c4be88661744 (diff) | |
download | gcc-b789c44c6463452900f7b1e6d2a0af6567534bfc.zip gcc-b789c44c6463452900f7b1e6d2a0af6567534bfc.tar.gz gcc-b789c44c6463452900f7b1e6d2a0af6567534bfc.tar.bz2 |
tree-optimization/105175 - avoid -Wvector-operation-performance
This avoids -Wvector-operation-performance diagnostics for vectorizer
produced code. It's unfortunate the warning_at code in
tree-vect-generic.cc needs adjustments but the diagnostic suppression
code doesn't magically suppress those otherwise.
2022-04-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/105175
* tree-vect-stmts.cc (vectorizable_operation): Suppress
-Wvector-operation-performance if using emulated vectors.
* tree-vect-generic.cc (expand_vector_piecewise): Do not diagnose
-Wvector-operation-performance when suppressed.
(expand_vector_parallel): Likewise.
(expand_vector_comparison): Likewise.
(expand_vector_condition): Likewise.
(lower_vec_perm): Likewise.
(expand_vector_conversion): Likewise.
* gcc.dg/pr105175.c: New testcase.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions