diff options
author | Richard Biener <rguenther@suse.de> | 2021-09-02 14:48:10 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-09-06 08:03:49 +0200 |
commit | a3fb781d4b341c0d50ef1b92cd3e8734e673ef18 (patch) | |
tree | 552cda965df112d69e56cf81100899d9a499f5b9 /libgcc | |
parent | 66bba4dc263d42b6a2254b68fe8706302071f880 (diff) | |
download | gcc-a3fb781d4b341c0d50ef1b92cd3e8734e673ef18.zip gcc-a3fb781d4b341c0d50ef1b92cd3e8734e673ef18.tar.gz gcc-a3fb781d4b341c0d50ef1b92cd3e8734e673ef18.tar.bz2 |
tree-optimization/102176 - locally compute participating SLP stmts
This performs local re-computation of participating scalar stmts
in BB vectorization subgraphs to allow precise computation of
liveness of scalar stmts after vectorization and thus precise
costing. This treats all extern defs as live but continues
to optimistically handle scalar defs that we think we can handle
by lane-extraction even though that can still fail late during
code-generation.
2021-09-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/102176
* tree-vect-slp.c (vect_slp_gather_vectorized_scalar_stmts):
New function.
(vect_bb_slp_scalar_cost): Use the computed set of
vectorized scalar stmts instead of relying on the out-of-date
and not accurate PURE_SLP_STMT.
(vect_bb_vectorization_profitable_p): Compute the set
of vectorized scalar stmts.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions