On 2/5/2026 1:37 AM, Robin Dapp wrote:
Hi,
v3 is much simpler. It just makes vlds (and vsts) to the "demands SEW/LMUL"
attribute list (by excluding it from "ratio"). This fixes both 123870 and
123969. I wanted to do that in v1 already but mistakenly assumed by changing
vlds we would break strided loads, only to realize now that strided loads have
the same issue anyway.
ISTM this ought to be reasonably pervasive in the wild with anything
trying to push rvv 0.7 code. Definitely feels like something we should
backport.
Regards
Robin
PR target/123870
PR target/123969
gcc/ChangeLog:
* config/riscv/vector.md: Add vlds to "no ratio" for
theadvector.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/xtheadvector/pr123969.c: New test.
OK
jeff