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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <[email protected]>:

https://gcc.gnu.org/g:2e722bc990f8a64ad80e2f6a565ef1d5f206a7e0

commit r17-3229-g2e722bc990f8a64ad80e2f6a565ef1d5f206a7e0
Author: Tamar Christina <[email protected]>
Date:   Wed Aug 12 14:16:12 2026 +0100

    vect: For now restrict vect_validate_multiplication_commutative to only 4
forms [PR126589]

    Flipping the order of the operands can end up changing the sign of the
operation
    and to compensate an adjustment operation has to be inserted (i.e. *
{-1,1}).

    The current code in trunk cannot do this yet so backporting the change from
my
    complex numbers branch caused it to produce incorrect code.

    For now while the full changes aren't upstreamed remove the last 4 swaps.

    gcc/ChangeLog:

            PR tree-optimization/126589
            * tree-vect-slp-patterns.cc (vect_validate_multiplication): Cleanup
            comment.
            (vect_validate_multiplication_commutative): Remove last 4 orders.

Reply via email to