]> gcc.gnu.org Git - gcc.git/commit
RISC-V: Make sure we get VL REG operand for VLMAX vsetvl
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 30 Aug 2023 02:22:11 +0000 (10:22 +0800)
committerPan Li <pan2.li@intel.com>
Wed, 30 Aug 2023 03:08:01 +0000 (11:08 +0800)
commit7accc6208befae77699a56f67a94da1e247ed069
treebafc01a73e557f3c9ca1e6428463feb7efcb3ef6
parent260f743aa476abce8f88cceaca12abcb8115b02f
RISC-V: Make sure we get VL REG operand for VLMAX vsetvl

Fix ICE in "vect" testsuite:

FAIL: gcc.dg/vect/pr64495.c (internal compiler error: in df_uses_record, at df-scan.cc:2958)
FAIL: gcc.dg/vect/pr64495.c (test for excess errors

After this patch, all current found VSETVL PASS related bugs in "vect" are fixed.

gcc/ChangeLog:

* config/riscv/riscv-vsetvl.cc
(vector_insn_info::get_avl_or_vl_reg): Fix bug.
gcc/config/riscv/riscv-vsetvl.cc
This page took 0.05316 seconds and 5 git commands to generate.