diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-11 11:22:47 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-12 09:11:30 +0200 |
commit | 1786be14e94bf1a7806b9dc09186f021737f0227 (patch) | |
tree | 70c2d5ab8c6e5991286ec56299be56851062c02a /gcc/rust/rust-attribs.cc | |
parent | 5e76090d320a83bf6eeb75c6adb950939aa674e9 (diff) | |
download | gcc-1786be14e94bf1a7806b9dc09186f021737f0227.zip gcc-1786be14e94bf1a7806b9dc09186f021737f0227.tar.gz gcc-1786be14e94bf1a7806b9dc09186f021737f0227.tar.bz2 |
Do not set STMT_VINFO_VECTYPE for non-dataref stmts
Now that all STMT_VINFO_VECTYPE uses from vectorizable_* have been
pruged there's no longer a need to have STMT_VINFO_VECTYPE set.
We still rely on it being present on data-ref stmts and there it
can differ between different SLP instances when doing BB vectorization.
The following removes the setting from vect_analyze_stmt and
vect_transform_stmt.
Note the following clears STMT_VINFO_VECTYPE from pattern stmts (the
vector type should have moved to the SLP tree by this time).
* tree-vect-stmts.cc (vect_analyze_stmt): Only set
STMT_VINFO_VECTYPE for dataref SLP representatives.
Clear it for others and do not restore the original value.
(vect_transform_stmt): Likewise.
Diffstat (limited to 'gcc/rust/rust-attribs.cc')
0 files changed, 0 insertions, 0 deletions