[PATCH] [Testsuite] Fix testcases after LICM of self-write

Adjust the testcase as above.

gcc/testsuite/ChangeLog:

2025-11-26  Kugan Vivekanandarajah  <kvivekananda@nvidia.com>

	* gcc.dg/vect/tsvc/vect-tsvc-s293.c: Remove xfail.
	* gcc.target/aarch64/vect-ld1r-compile.c: Add
	-fno-tree-loop-distribute-patterns to prevent memset detection.

Signed-off-by: Kugan Vivekanandarajah <kvivekananda@nvidia.com>
This commit is contained in:
Kugan Vivekanandarajah 2025-12-01 09:29:16 +11:00
parent 16cf0b49fb
commit e1f33d3890
2 changed files with 3 additions and 2 deletions

View File

@ -36,4 +36,4 @@ int main (int argc, char **argv)
return 0;
}
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect"} } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O3 -fno-vect-cost-model" } */
/* Adding -fno-tree-loop-distribute-patterns to present memset dtection. */
/* { dg-options "-O3 -fno-tree-loop-distribute-patterns -fno-vect-cost-model" } */
#pragma GCC target "+nosve"