diff options
author | Richard Biener <rguenther@suse.de> | 2025-07-25 13:38:48 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-07-25 16:46:41 +0200 |
commit | e38c88d5deb4fd4ef103b63691d7be028a54c3dc (patch) | |
tree | 13eb09fa2d9893f70f63b94001321a9cae25f67d /gcc/tree-ssa-loop-prefetch.cc | |
parent | 529ae1484a992aba184509eebb71d6595768c887 (diff) | |
download | gcc-e38c88d5deb4fd4ef103b63691d7be028a54c3dc.zip gcc-e38c88d5deb4fd4ef103b63691d7be028a54c3dc.tar.gz gcc-e38c88d5deb4fd4ef103b63691d7be028a54c3dc.tar.bz2 |
Fix and simplify vect_model_simple_cost
There's no longer any call without SLP node so we don't need dts.
I also figured based on the callers that some expect to cost
more than one stmt but still N times so this changes what we cost.
* tree-vect-stmts.cc (vect_model_simple_cost): Removed code
when no SLP node is passed, remove then unused dt and ndts
parameters and fix the number of vector stmts calculation.
(vectorizable_call): Adjust.
(vectorizable_simd_clone_call): Likewise.
(vectorizable_conversion): Likewise.
(vectorizable_assignment): Likewise.
(vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
(vectorizable_condition): Likewise.
(vectorizable_comparison_1): Likewise.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions