]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Support NPATTERNS = 1 stepped vector[PR110950]
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 9 Aug 2023 12:18:40 +0000 (20:18 +0800)
committerPan Li <pan2.li@intel.com>
Wed, 9 Aug 2023 13:37:22 +0000 (21:37 +0800)
commitc4d618143048ac781f435638ef6e788ba870dc53
tree48bc4d1a84ba34191fc76b576d01b34590b295b4
parentb8ec3c952324f866f191883473922e250be81341
RISC-V: Support NPATTERNS = 1 stepped vector[PR110950]

This patch fix ICE: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110950

0x1cf8939 expand_const_vector
        ../../../riscv-gcc/gcc/config/riscv/riscv-v.cc:1587

PR target/110950

gcc/ChangeLog:

* config/riscv/riscv-v.cc (expand_const_vector): Add NPATTERNS = 1
stepped vector support.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/pr110950.c: New test.
gcc/config/riscv/riscv-v.cc
gcc/testsuite/gcc.target/riscv/rvv/autovec/pr110950.c [new file with mode: 0644]
This page took 0.061807 seconds and 6 git commands to generate.