diff options
author | Pan Li <pan2.li@intel.com> | 2025-06-05 11:04:33 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2025-06-05 21:24:36 +0800 |
commit | 8cf31de8c8fec295c5f627b399d9e015df266297 (patch) | |
tree | 1cecd6d197b7ebc453aa77ed1ab800af5cf232bd /libstdc++-v3/testsuite/std | |
parent | 1d90f8c7933eb225e26b7598960bc220a582c452 (diff) | |
download | gcc-8cf31de8c8fec295c5f627b399d9e015df266297.zip gcc-8cf31de8c8fec295c5f627b399d9e015df266297.tar.gz gcc-8cf31de8c8fec295c5f627b399d9e015df266297.tar.bz2 |
RISC-V: Fix ICE for gcc.dg/graphite/pr33576.c with rv32gcv
The div of rvv has not such insn v2 = div (vec_dup (x), v1), thus
the generated rtl like that hit the unreachable assert when
expand insn. This patch would like to remove op div from
the binary op form (vec_dup (x), v) to avoid pattern matching
by mistake.
No new test introduced as pr33576.c covered already.
The below test suites are passed for this patch series.
* The rv64gcv fully regression test.
gcc/ChangeLog:
* config/riscv/autovec-opt.md: Leverage vdup_v and v_vdup
binary op for different patterns.
* config/riscv/vector-iterators.md: Add vdup_v and v_vdup
binary op iterators.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions