From: Jeff Law Date: Thu, 15 Jan 2026 19:49:55 +0000 (-0700) Subject: Fix RISC-V test after recent vectorizer changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=166a776b590eeed1282e65ce0b4b489d780ee0be;p=thirdparty%2Fgcc.git Fix RISC-V test after recent vectorizer changes Richi's patch to fix costing of permuted contiguous loads changed the code generation for pr122445.c in the testsuite. After reviewing the code, it looks clearly better to me -- essentially covering 2X as many elements per vector op with fewer total vector ops in the end (without resulting to LMUL > 1). I've verified this fixes the overnight regressions seen on riscv{32,64}-elf. The bootstrap and regression tests are in flight, but won't finish for many more hours. gcc/testsuite * gcc.target/riscv/rvv/autovec/pr122445.c: Adjust expected output. --- diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr122445.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr122445.c index 47368684faa..cd046647656 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr122445.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/pr122445.c @@ -22,5 +22,5 @@ x264_add4x4_idct (uint8_t *p_dst, int16_t d[16]) } } -/* { dg-final { scan-rtl-dump "Propagating AVL: \\(const_int 4" "avlprop" } } */ +/* { dg-final { scan-rtl-dump "Propagating AVL: \\(const_int 8" "avlprop" } } */ /* { dg-final { scan-rtl-dump-not "Propagating AVL: \\(const_int 1" "avlprop" } } */