https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120356
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:d8f2b4f1781ca02d3f74cc88467f97c2d68b471e commit r15-9963-gd8f2b4f1781ca02d3f74cc88467f97c2d68b471e Author: Alexey Merzlyakov <alexey.merzlya...@samsung.com> Date: Wed Jul 2 11:29:00 2025 -0600 [PATCH] [RISC-V] Fix shift type for RVV interleaved stepped patterns [PR120356] It corrects the shift type of interleaved stepped patterns for const vector expanding in LRA. The shift instruction was initially LSHIFTRT, and it seems still should be the same type for both LRA and other cases. PR target/120356 gcc/ChangeLog: * config/riscv/riscv-v.cc (expand_const_vector_interleaved_stepped_npatterns): Fix ASHIFT to LSHIFTRT insn. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr120356.c: New test. (cherry picked from commit 9c1ed63e4c6b0f80dd47ce421dd7d80d52c38fd3)