Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | not grep div
      2 
      3 define i32 @a(i16 zeroext %x, i32 %y) nounwind {
      4 entry:
      5 	%conv = zext i16 %x to i32
      6 	%s = shl i32 2, %y
      7 	%d = sdiv i32 %conv, %s
      8 	ret i32 %d
      9 }
     10