On 3/31/25 1:01 PM, Alexandre Oliva wrote:

Some of the tests regressed with a fix for the vectorization of
shifts.  The riscv cost models need to be adjusted to avoid the
unprofitable optimization.  The failure of these tests has been known
since 2024-03-13, without a forthcoming fix, so I suggest we consider
it expected by now.  Adjust the tests to reflect that expectation.

Tested on x86_64-linux-gnu native, and gcc-14 target riscv{64,32}-elf.
Ok to install?


for  gcc/testsuite/ChangeLog

        PR tree-optimization/113281
        * gcc.dg/vect/costmodel/riscv/rvv/pr113281-1.c: XFAIL.
        * gcc.dg/vect/costmodel/riscv/rvv/pr113281-2.c: Likewise.
        * gcc.dg/vect/costmodel/riscv/rvv/pr113281-5.c: Likewise.
So weirdly, these aren't running in my tester. I don't see any evidence they've ever been tested. But that's my problem, not yours :-)

If you verify they're failing on the trunk on riscv64-elf and/or riscv32-elf, then this is fine.

Also note that if you use "RISC-V" rather than "riscv" your patches will be automatically picked up by the pre-commit tester.

jeff

Reply via email to