Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | grep "ret i1 true"
      2 ; PR2993
      3 
      4 define i1 @foo(i32 %x) {
      5   %1 = srem i32 %x, -1
      6   %2 = icmp eq i32 %1, 0
      7   ret i1 %2
      8 }
      9