https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119589

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:9e85d056cd15befffb39d2f84902d21eda4d98eb

commit r16-462-g9e85d056cd15befffb39d2f84902d21eda4d98eb
Author: Richard Biener <rguent...@suse.de>
Date:   Tue May 6 13:29:42 2025 +0200

    tree-optimization/119589 - alignment analysis for VF > 1 and
VMAT_STRIDED_SLP

    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.
  • [Bug tree-optimization/119589] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to