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

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

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

commit r16-2102-gdab5951af891c58aa4dd60755edb49df882b680a
Author: Robin Dapp <rd...@ventanamicro.com>
Date:   Tue Jul 8 11:35:12 2025 +0200

    RISC-V: Do not use vsetivli for THeadVector.

    In emit_vlmax_insn_lra we use a vsetivli for an immediate AVL.
    XTHeadVector does not support this, so guard appropriately.

            PR target/120461

    gcc/ChangeLog:

            * config/riscv/riscv-v.cc (emit_vlmax_insn_lra): Do not emit
            vsetivli for XTHeadVector.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/xtheadvector/pr120461.c: New test.

Reply via email to