[AArch64] PR rtl-optimization/68796: Add patterns for QImode and HImode comparison...
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / tst_6.c
blobf15ec114c391fed79cc43b7740fde83fb3d4ea53
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int
5 foo (long x)
7 return ((short) x != 0) ? x : 1;
10 /* { dg-final { scan-assembler "tst\t(x|w)\[0-9\]+,\[ \t\]*65535" } } */