On 4/14/25 10:22 PM, Alexandre Oliva wrote:
On Apr 14, 2025, Jeff Law <jeffreya...@gmail.com> wrote:
No strong opinion. I'd lean towards xfail or twiddling the test since
that's obviously super-save WRT codegen on the gcc-14 release branch.
Twiddling it is, then (pending approval ;-)
The pr118182-2.c testcase backported from gcc-15 depended on the late
combine pass after register allocation to substitute the zero constant
into the pred_broadcast to get to the expected vmv.s.x instruction.
Without that pass, we get a mfmv.s.f instead. Expect that on gcc-14.
Tested both riscv64-elf and riscv32-elf on x86_64-linux-gnu.
Ok for gcc-14?
for gcc/testsuite/ChangeLog
PR target/118182
* gcc.target/riscv/rvv/autovec/pr118182-2.c: Adjust.
Yea, this is fine and obviously safe for gcc-14 :-)
jeff