InstCombine: typo in or_icmp_eq_B_0_icmp_ult_A_B test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Majnemer 2013-07-06 00:54:07 +00:00
parent dc89737bcd
commit fa4133b1d1

View File

@ -1103,8 +1103,8 @@ define i1 @icmp_shl_1_V_ult_2147483648(i32 %V) {
ret i1 %cmp
}
; CEHCK: @or_icmp_eq_B_0_icmp_ult_A_B
; CHECK: [[SUB:%[a-z0-9]+]] = add i64 %b, -1
; CHECK: @or_icmp_eq_B_0_icmp_ult_A_B
; CHECK-NEXT: [[SUB:%[a-z0-9]+]] = add i64 %b, -1
; CHECK-NEXT: [[CMP:%[a-z0-9]+]] = icmp uge i64 [[SUB]], %a
; CHECK-NEXT: ret i1 [[CMP]]
define i1 @or_icmp_eq_B_0_icmp_ult_A_B(i64 %a, i64 %b) {