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

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

https://gcc.gnu.org/g:e1f58f09244fee2b8eee6ecdd8ebb2d3db7e8f12

commit r17-6727-ge1f58f09244fee2b8eee6ecdd8ebb2d3db7e8f12
Author: Robin Dapp <[email protected]>
Date:   Sun Nov 22 16:38:38 2026 +0100

    RISC-V: Fixup even-odd patterns [PR124996].

    This is a small fixup for PR124996.  We should now cover all cases where
    narrowing shift can be used.  The check for regmode_natural_size hasn't
    been necessary since the recent fixes so all that was missing is a
    clobber for the destination and the temporary target (like vec_concat)
    before they get written.  While at it, I also renamed tmp to low and hi
    like in vec_concat.

            PR target/124996

    gcc/ChangeLog:

            * config/riscv/riscv-v.cc (shuffle_even_odd_patterns): Remove
            regmode-natural-size check and clobber destinations.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/autovec/vls-vlmax/shuffle-evenodd.c:
            Adjust test expectations.
            * gcc.target/riscv/rvv/autovec/vls-vlmax/shuffle-evenodd_run-1.c:
New test.

Reply via email to