• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -instcombine -S | not grep div
2
3define i32 @a(i16 zeroext %x, i32 %y) nounwind {
4entry:
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