diff options
author | Richard Biener <rguenther@suse.de> | 2025-05-06 13:29:42 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-05-08 08:36:53 +0200 |
commit | 9e85d056cd15befffb39d2f84902d21eda4d98eb (patch) | |
tree | eceb75a1d9b7dd19f05caba69246546688a4bca5 /libstdc++-v3/testsuite/util/testsuite_shared.cc | |
parent | da377e7ebf84a05943fb768eaeb7d682dee865fa (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The following fixes the alignment analysis done by the VMAT_STRIDED_SLP
code which for the case of VF > 1 currently relies on dataref analysis
which assumes consecutive accesses. But the code generation advances
by DR_STEP between each iteration which requires us to assess that
individual DR_STEP preserve the alignment rather than only VF * DR_STEP.
This allows us to use vector aligned accesses in some cases.
PR tree-optimization/119589
PR tree-optimization/119586
PR tree-optimization/119155
* tree-vect-stmts.cc (vectorizable_store): Verify
DR_STEP_ALIGNMENT preserves DR_TARGET_ALIGNMENT when
VF > 1 and VMAT_STRIDED_SLP. Use vector aligned accesses when
we can.
(vectorizable_load): Likewise.
Diffstat (limited to 'libstdc++-v3/testsuite/util/testsuite_shared.cc')
0 files changed, 0 insertions, 0 deletions