mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
testsuite/96147 - align vector access
This aligns p so that the testcase is meaningful for targets without a hw misaligned access. 2021-01-15 Richard Biener <rguenther@suse.de> PR testsuite/96147 * gcc.dg/vect/bb-slp-32.c: Align p.
This commit is contained in:
parent
aa4ee5798f
commit
b36c9cd094
@ -8,6 +8,7 @@ int foo (int *p, int a, int b)
|
||||
int x[4];
|
||||
int tem0, tem1, tem2, tem3;
|
||||
int sum = 0;
|
||||
p = __builtin_assume_aligned (p, __BIGGEST_ALIGNMENT__);
|
||||
tem0 = p[0] + 1 + a;
|
||||
sum += tem0;
|
||||
x[0] = tem0;
|
||||
|
Loading…
Reference in New Issue
Block a user