mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[indvars] Fix bugs in floating point IV range checks noticed by inspection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -67,7 +67,8 @@ bb: ; preds = %bb, %entry
|
||||
return:
|
||||
ret void
|
||||
; CHECK: @test4
|
||||
; CHECK: fcmp
|
||||
; CHECK-NOT: cmp
|
||||
; CHECK: br i1 false
|
||||
}
|
||||
|
||||
; PR6761
|
||||
@@ -84,9 +85,8 @@ define void @test5() nounwind {
|
||||
|
||||
exit:
|
||||
ret void
|
||||
|
||||
|
||||
; CHECK: @test5
|
||||
; CHECK: icmp eq i32 {{.*}}, 10
|
||||
; CHECK-NEXT: br i1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user