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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jeff Law <[email protected]>:

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

commit r15-10607-gd7f9edb4473f3f12c23c9a3f044c955eba6d16d1
Author: Robin Dapp <[email protected]>
Date:   Mon Dec 8 10:22:51 2025 +0100

    RISC-V: Add more mode_idx attributes [PR123022].

    Similar to 116149 we use the mode size of operand MODE_IDX but that
    one could refer to a broadcast scalar.  Use operand 3 for scalar
    broadcast patterns instead.

            PR target/123022

    gcc/ChangeLog:

            * config/riscv/vector.md: Add mode_idx attribute.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/autovec/pr123022-2.c: New test.
            * gcc.target/riscv/rvv/autovec/pr123022.c: New test.

    (cherry picked from commit 195471cc076d05ac1b3e2c2ed0b8cfedb0ac97a1)

Reply via email to