[Bug target/124736] RISCV: backend generates an invalid vwredsum.vs insn with overlapping register operands
andrew at sifive dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 20:00:08 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124736
Andrew Waterman <andrew at sifive dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew at sifive dot com
--- Comment #2 from Andrew Waterman <andrew at sifive dot com> ---
The vector reduction instructions have their own more relaxed overlap
constraint that overrides the generic text. "The destination vector register
can overlap the source operands, including the mask register." I think this
code is OK.
More information about the Gcc-bugs
mailing list