1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=armv8.6-a+mops" } */
3
4 #include <stddef.h>
5
6 void g();
7 void foo (int a, size_t N, char *__restrict__ in,
8 char *__restrict__ out)
9 {
10 if (a != 3)
11 __builtin_memcpy (out, in, N);
12 if (a > 3)
13 g ();
14 }
15
16 /* { dg-final { scan-assembler-times {cmp\tw0, *} 2 } } */
17