Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / ldp_stp_2.c
blob483f4afd2e84d36356926a9a44415c40cdd79c2a
1 /* { dg-options "-O2" } */
3 extern void abort (void);
5 int arr[4][4] = {{0, 1, 1, -1}, {-1, -1, 1, -1}, {1, -1, 1, 1}, {1, -1, -1, 0}};
6 long long
7 foo ()
9 long long ll = 0;
10 ll += arr[1][0];
11 ll += arr[1][1];
12 return ll;
15 /* { dg-final { scan-assembler-times "ldpsw\tx\[0-9\]+, x\[0-9\]" 1 } } */