diff options
author | Lehua Ding <lehua.ding@rivai.ai> | 2023-08-17 15:42:51 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-08-18 10:29:44 +0800 |
commit | c43916857c6586e65f10713fdc5a65909918a8cc (patch) | |
tree | e0aa18db834b1854bd9ed71dd31f50d16eb06922 /gcc/rust/backend | |
parent | 1eb2433ff9e85008a289db03ff7eb802d51c42a8 (diff) | |
download | gcc-c43916857c6586e65f10713fdc5a65909918a8cc.zip gcc-c43916857c6586e65f10713fdc5a65909918a8cc.tar.gz gcc-c43916857c6586e65f10713fdc5a65909918a8cc.tar.bz2 |
RISC-V: Forbidden fuse vlmax vsetvl to DEMAND_NONZERO_AVL vsetvl
Hi,
This little patch fix the fail testcase
(gcc.target/riscv/rvv/autovec/gather-scatter/strided_load_run-1.c)
after apply this patch
(https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627121.html).
The specific reason is that the vsetvl pass has bug and this patch
forbidden the fuse of this case. This patch needs to be committed
before that patch to work.
Best,
Lehua
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.cc (pass_vsetvl::backward_demand_fusion):
Forbidden.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/gather-scatter/strided_load_run-1.c:
Address failure due to uninitialized vtype register.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions