1  /* { dg-do compile } */
       2  /* { dg-options "-march=rv32i -mabi=ilp32" } */
       3  /* { dg-skip-if "" { *-*-* } { "-O0" "-O1" "-Og" } } */
       4  
       5  /* One zero-extend shift can be eliminated by modifying the constant in the
       6     greater than test.  Started working after modifying the splitter
       7     lshrsi3_zero_extend_3+1 to use a temporary reg for the first split dest.  */
       8  int
       9  sub (int i)
      10  {
      11    i &= 0x7fffffff;
      12    return i > 0x7f800000;
      13  }
      14  /* { dg-final { scan-assembler-not "srli" } } */