(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
cmp-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2" } */
       3  
       4  int f(int a, int b)
       5  {
       6    if(a<b)
       7      return 1;
       8    if(a>b)
       9      return -1;
      10    return 0;
      11  }
      12  
      13  /* We should optimize away the second cmp. */
      14  /* { dg-final { scan-assembler-times "cmp\tw" 1 } } */
      15