]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] RISC-V: Fix slide pattern recognition [PR122124]
authorRaphael Moreira Zinsly <rzinsly@ventanamicro.com>
Tue, 7 Oct 2025 13:14:01 +0000 (07:14 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 7 Oct 2025 13:14:01 +0000 (07:14 -0600)
commit34ef2eec90baff5a7b84806fb0c7a5cef16b5350
treebf800cb753162d23c8a47fddfa755078521198c1
parent05d3dd6010a53e93e1693001eba4c88a7face53b
[PATCH] RISC-V: Fix slide pattern recognition [PR122124]

Ensure the second pivot is really a pivot and it's not in OP1.

PR target/122124
gcc/ChangeLog:
* config/riscv/riscv-v.cc (shuffle_slide_patterns): Check if
the second pivot is in OP1 and improve comments.

gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/pr122124.c: New test.
gcc/config/riscv/riscv-v.cc
gcc/testsuite/gcc.target/riscv/rvv/autovec/pr122124.c [new file with mode: 0644]