1 /* { dg-do compile } */
2 /* { dg-options "-O2 " } */
3
4 int f3 (int x, int y)
5 {
6 int res = x << 3;
7 return res != 0;
8 }
9
10 /* We should combine the shift and compare */
11 /* { dg-final { scan-assembler "cmp\.*\twzr, w\[0-9\]+, lsl 3" } } */