Skip to content

Commit

Permalink
Adjust gcc.dg/vect/pr100756.c for V8SI and V16SI
Browse files Browse the repository at this point in the history
The following adjusts the testcase to require no epilogue also
for larger vectors than V4SI.

	* gcc.dg/vect/pr100756.c: Adjust for larger vectors.
  • Loading branch information
rguenth committed Oct 28, 2022
1 parent 11e811d commit 826df6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/testsuite/gcc.dg/vect/pr100756.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ foo (int * restrict a, int n)
int i, result = 0;

a = __builtin_assume_aligned (a, __BIGGEST_ALIGNMENT__);
for (i = 0; i < n * 4; i++)
for (i = 0; i < n * 16; i++)
result += a[i];
return result;
}
Expand Down

0 comments on commit 826df6d

Please sign in to comment.