]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[RISC-V] Adjust expected output after recent jump threader change
authorJeff Law <jeffrey.law@oss.qualcomm.com>
Tue, 5 May 2026 20:04:16 +0000 (14:04 -0600)
committerJeff Law <jeffrey.law@oss.qualcomm.com>
Tue, 5 May 2026 20:05:26 +0000 (14:05 -0600)
Richi's reversion of a jump threader change triggered a regression on
avl_single-26.c.  Essentially we're doing less jump threading and consequently
less block duplication leading ultimately leading to one less vsetvl in the
code.  This adjusts the testsuite to match current expectations.

Pushing to the trunk.

gcc/testsuite

* gcc.target/riscv/rvv/vsetvl/avl_single-26.c: Update expected output.

gcc/testsuite/gcc.target/riscv/rvv/vsetvl/avl_single-26.c

index 0ff7f3b3c90f10ee9a9bf8f5851d2ab1d9550456..2ac02254dbebebfbe14ccbbe94c31fdc74b4423a 100644 (file)
@@ -32,4 +32,4 @@ void f (int8_t * restrict in, int8_t * restrict out, int n, int m, int cond)
 }
 
 /* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*tu,\s*mu} 1 { target { no-opts "-O0" no-opts "-g" no-opts "-funroll-loops" } } } } */
-/* { dg-final { scan-assembler-times {vsetvli} 3 { target { no-opts "-O0" no-opts "-O1" no-opts "-Os" no-opts "-g" no-opts "-funroll-loops" no-opts "-Oz" } } } } */
+/* { dg-final { scan-assembler-times {vsetvli} 2 { target { no-opts "-O0" no-opts "-O1" no-opts "-Os" no-opts "-g" no-opts "-funroll-loops" no-opts "-Oz" } } } } */