Skip to content

Commit afead7f

Browse files
zhongjuzheIncarnation-p-lee
authored andcommitted
RISC-V: Adjust test
Since middle-end patch: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/640595.html will change vectorization code. Adapt tests for ths patch. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/vsetvl/pr112988-1.c: Adapt test.
1 parent 4bfafea commit afead7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr112988-1.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ int main() {
6262
return 0;
6363
}
6464

65-
/* { dg-final { scan-assembler-times {vsetvli} 1 } } */
66-
/* { dg-final { scan-assembler-times {vsetivli} 1 } } */
67-
/* { dg-final { scan-assembler-times {vsetivli\tzero,\s*4,\s*e32,\s*m1,\s*t[au],\s*m[au]} 1 } } */
65+
/* { dg-final { scan-assembler-times {vsetvli} 4 } } */
66+
/* { dg-final { scan-assembler-not {vsetivli} } } */
6867
/* { dg-final { scan-assembler-times {vsetvli\tzero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]} 1 } } */
6968
/* { dg-final { scan-assembler-times {li\t[a-x0-9]+,\s*32} 1 } } */

0 commit comments

Comments
 (0)