https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121048
Bug ID: 121048
Summary: [16 Regression] Recent vectorizer changes cause RISC-V
testsuite regressions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: law at gcc dot gnu.org
Target Milestone: ---
This change is causing regressions on the RISC-V port:
commit 4b47acfe2b626d1276e229a0cf165e934813df6c (HEAD)
Author: Richard Biener <[email protected]>
Date: Wed Jul 9 12:53:45 2025 +0200
Remove non-SLP vectorization factor determining
The following removes the VF determining step from non-SLP stmts.
For now we keep setting STMT_VINFO_VECTYPE for all stmts, there are
too many places to fix, including some more complicated ones, so
this is defered for a followup.
[ ... ]
With a riscv64-linux-gnu cross compiler:
[jlaw@x11-dpi:~/test/obj/rv2/gcc$ make check-gcc
RUNTESTFLAGS=rvv.exp=zve32f-1.c
[ ... ]
Running /home/jlaw/test/gcc/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp ...
FAIL: gcc.target/riscv/rvv/autovec/zve32f-1.c -O3 -ftree-vectorize
scan-tree-dump-times vect "vectorized 1 loops in function" 2
Reading the commit log in full, this may be somewhat expected as there are
expected follow-ups.