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

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

https://gcc.gnu.org/g:181cb2943d53862aa41eab49a042dff991a3d94f

commit r16-1713-g181cb2943d53862aa41eab49a042dff991a3d94f
Author: Paul-Antoine Arras <[email protected]>
Date:   Wed Jun 25 16:42:00 2025 +0000

    RISC-V: update prepare_ternary_operands to handle vector-scalar case
[PR120828]

    This is a followup to 92e1893e0 "RISC-V: Add patterns for vector-scalar
    multiply-(subtract-)accumulate" that caused an ICE in some cases where the
mult
    operands were wrongly swapped.
    This patch ensures that operands are not swapped in the vector-scalar case.

            PR target/120828

    gcc/ChangeLog:

            * config/riscv/riscv-v.cc (prepare_ternary_operands): Handle the
            vector-scalar case.

Reply via email to