[committed,RISC-V] Adjust expected output after recent jump threader change

Message ID d8889c2d-1fac-42eb-98b3-01e5ecc1fd77@oss.qualcomm.com
State Committed
Delegated to: Jeff Law
Headers
Series [committed,RISC-V] Adjust expected output after recent jump threader change |

Checks

Context Check Description
rivoscibot/toolchain-ci-rivos-apply-patch success Patch applied
rivoscibot/toolchain-ci-rivos-lint success Lint passed
rivoscibot/toolchain-ci-rivos-build--newlib-rv64gcv-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-build--linux-rv64gcv-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-build--linux-rv64gc_zba_zbb_zbc_zbs-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-test success Testing passed

Commit Message

Jeffrey Law May 5, 2026, 8:05 p.m. UTC
  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.

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

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/avl_single-26.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/avl_single-26.c
index 0ff7f3b3c90f..2ac02254dbeb 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/avl_single-26.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/avl_single-26.c
@@ -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" } } } } */