Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / cmp_shifted_reg_1.c
blobcacecf4e71d2b74132eadfe97078a99fbf3fb811
1 /* { dg-do compile } */
2 /* { dg-options "-O2 " } */
4 int f3 (int x, int y)
6 int res = x << 3;
7 return res != 0;
10 /* We should combine the shift and compare */
11 /* { dg-final { scan-assembler "cmp\.*\twzr, w\[0-9\]+, lsl 3" } } */