diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-09-18 20:35:08 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-09-18 20:58:31 +0800 |
commit | 4260f4af4dde6dbf85c28da7e8aaf03985b3d171 (patch) | |
tree | 4172f6aa7f789d0181e99414ce6af65c8c798e56 /gcc/tree-inline.h | |
parent | bdb7d85dde56b69af378adcffe45accf792cf4fd (diff) | |
download | gcc-4260f4af4dde6dbf85c28da7e8aaf03985b3d171.zip gcc-4260f4af4dde6dbf85c28da7e8aaf03985b3d171.tar.gz gcc-4260f4af4dde6dbf85c28da7e8aaf03985b3d171.tar.bz2 |
RISC-V: Remove redundant vec_duplicate pattern
Currently, VLS and VLA patterns are different.
VLA is define_expand
VLS is define_insn_and_split
It makes no sense that they are different pattern format.
Merge them into same pattern (define_insn_and_split).
It can also be helpful for the future vv -> vx fwprop optimization.
gcc/ChangeLog:
* config/riscv/riscv-selftests.cc (run_broadcast_selftests): Adapt selftests.
* config/riscv/vector.md (@vec_duplicate<mode>): Remove.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/pr111313.c: Adapt test.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions