blob: cacecf4e71d2b74132eadfe97078a99fbf3fb811 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 " } */
int f3 (int x, int y)
{
int res = x << 3;
return res != 0;
}
/* We should combine the shift and compare */
/* { dg-final { scan-assembler "cmp\.*\twzr, w\[0-9\]+, lsl 3" } } */