aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-07-03 11:28:53 +0200
committerRichard Biener <rguenther@suse.de>2020-07-03 12:54:12 +0200
commit9bc2c2347d5d782c7362efe180ab002759e296c8 (patch)
tree3263bf670ab56e7388d6e0e9a38838abd539b1fc /gcc/gimplify.c
parentbf628a97efaf11204ab02527b30ca71d7759ca37 (diff)
downloadgcc-9bc2c2347d5d782c7362efe180ab002759e296c8.zip
gcc-9bc2c2347d5d782c7362efe180ab002759e296c8.tar.gz
gcc-9bc2c2347d5d782c7362efe180ab002759e296c8.tar.bz2
fix scalar BB vectorization costing
We were costing the scalar pattern stmts rather than the scalar original stmt and also not appropriately looking at the pattern stmt for whether the stmt is vectorized. 2020-07-03 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_bb_slp_scalar_cost): Cost the original non-pattern stmts, look at the pattern stmt vectorization status. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-slp-2.c: New testcase.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions