aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll
blob: 719da7083afcc28b73d0cef00bd5960a9ef2c888 (plain)
1
2
3
4
5
6
7
; For PR1248
; RUN: opt < %s -instcombine -S | grep "ugt i32 .*, 11"
define i1 @test(i32 %tmp6) {
  %tmp7 = sdiv i32 %tmp6, 12     ; <i32> [#uses=1]
  icmp ne i32 %tmp7, -6           ; <i1>:1 [#uses=1]
  ret i1 %1
}