Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | grep urem
      2 
      3 define i64 @rem_unsigned(i64 %x1, i64 %y2) {
      4 	%r = udiv i64 %x1, %y2
      5 	%r7 = mul i64 %r, %y2
      6 	%r8 = sub i64 %x1, %r7
      7 	ret i64 %r8
      8 }
      9