aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-01-11 11:47:46 +0100
committerRichard Biener <rguenther@suse.de>2021-01-11 12:50:59 +0100
commit04bff1bbfc11a974342c0eb0c0d65d902e36e82e (patch)
treee5e388be69a634533336b93b76bd982451162442 /gcc/cp/class.c
parent928e96bbe98bafff18f11a7351cf89592967b061 (diff)
downloadgcc-04bff1bbfc11a974342c0eb0c0d65d902e36e82e.zip
gcc-04bff1bbfc11a974342c0eb0c0d65d902e36e82e.tar.gz
gcc-04bff1bbfc11a974342c0eb0c0d65d902e36e82e.tar.bz2
tree-optimization/98526 - fix vectorizer reduction cost
This fixes a double-counting in the reduction cost when vectorizing the reduction through the regular vectorizable_* functions. 2021-01-11 Richard Biener <rguenther@suse.de> PR tree-optimization/98526 * tree-vect-loop.c (vect_model_reduction_cost): Remove costing of the actual reduction op for the regular case. (vectorizable_reduction): Cost the stmts vect_transform_reduction produces here.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions