aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-08-23 13:37:41 +0200
committerRichard Biener <rguenther@suse.de>2021-08-23 14:28:54 +0200
commit12dc8ab983db039a570e3798b468498e2230c7d9 (patch)
treeecac15d26a768770a2701fee977df8001a7d55aa /gcc/fortran/trans-openmp.c
parent537878152ded8b7d271333b803b36c27a9aea8d2 (diff)
downloadgcc-12dc8ab983db039a570e3798b468498e2230c7d9.zip
gcc-12dc8ab983db039a570e3798b468498e2230c7d9.tar.gz
gcc-12dc8ab983db039a570e3798b468498e2230c7d9.tar.bz2
Fix scalar costing issue introduced by PR84512 fix.
This fixes double-scaling of the inner loop scalar cost caused by routing the scalar costs through the add_stmt_cost hook and using vect_body as the location. The issue makes almost every outer loop vectorization profitable. 2021-08-23 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Properly scale the inner loop cost only once.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions