tree-optimization/102847 - adjust VMAT_INVARIANT load costing
authorRichard Biener <rguenther@suse.de>
Thu, 21 Oct 2021 10:10:20 +0000 (12:10 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 21 Oct 2021 10:10:20 +0000 (12:10 +0200)
commit8516963942b0a8f06fa8f5ebd7c37f9edea151ac
tree68d2e1c3c7b35ab6ab7b12ea197a9e3292300ad0
parent7878981f1d44b4c9bb6c4a3137b37f06c725b73d
tree-optimization/102847 - adjust VMAT_INVARIANT load costing

This adds the missing scalar load cost in the prologue.

2021-10-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/102847
* tree-vect-stmts.c (vect_model_load_cost): Add the scalar
load cost in the prologue for VMAT_INVARIANT.
gcc/tree-vect-stmts.c