diff options
author | Richard Biener <rguenther@suse.de> | 2021-08-06 14:39:05 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-08-06 15:32:30 +0200 |
commit | f31da42e047e8018ca6ad9809273bc7efb6ffcaf (patch) | |
tree | 94fce0bf3db36f9a3feefe87c26f67c2321c7a5e /gcc/tree-ssa-loop-prefetch.c | |
parent | c2a984a3570b908a44a35e43bb48f0a05196156a (diff) | |
download | gcc-f31da42e047e8018ca6ad9809273bc7efb6ffcaf.zip gcc-f31da42e047e8018ca6ad9809273bc7efb6ffcaf.tar.gz gcc-f31da42e047e8018ca6ad9809273bc7efb6ffcaf.tar.bz2 |
tree-optimization/101801 - remove vect_worthwhile_without_simd_p
This removes the cost part of vect_worthwhile_without_simd_p, retaining
only the correctness bits. The reason is that the cost heuristic
do not properly account for SLP plus the check whether "without simd"
applies misfires for AVX512 mask vectors at the moment, leading to
missed vectorizations there.
Any costing decision should take place in the cost modeling, no
single stmt is to disable all vectorization on its own.
2021-08-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/101801
* tree-vectorizer.h (vect_worthwhile_without_simd_p): Rename...
(vect_can_vectorize_without_simd_p): ... to this.
* tree-vect-loop.c (vect_worthwhile_without_simd_p): Rename...
(vect_can_vectorize_without_simd_p): ... to this and fold
in vect_min_worthwhile_factor.
(vect_min_worthwhile_factor): Remove.
(vectorizable_reduction): Adjust and remove the cost part.
* tree-vect-stmts.c (vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions