• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -instcombine -S | grep {ret i1 false}
2; PR2697
3
4define i1 @x(i32 %x) nounwind {
5	%div = sdiv i32 %x, 65536		; <i32> [#uses=1]
6	%cmp = icmp slt i32 %div, -65536
7	ret i1 %cmp
8}
9