Skip to content

Commit

Permalink
convert to filecheck
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100281 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Apr 3, 2010
1 parent a40e4a0 commit 203bceb
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions test/Transforms/IndVarSimplify/floating-point-iv.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt < %s -indvars -S | grep icmp | count 4
define void @bar() nounwind {
; RUN: opt < %s -indvars -S | FileCheck %s
define void @test1() nounwind {
entry:
br label %bb

Expand All @@ -12,11 +12,13 @@ bb: ; preds = %bb, %entry

return: ; preds = %bb
ret void
; CHECK: @test1
; CHECK: icmp
}

declare i32 @foo(double)

define void @bar2() nounwind {
define void @test2() nounwind {
entry:
br label %bb

Expand All @@ -29,10 +31,12 @@ bb: ; preds = %bb, %entry

return: ; preds = %bb
ret void
; CHECK: @test2
; CHECK: icmp
}


define void @bar3() nounwind {
define void @test3() nounwind {
entry:
br label %bb

Expand All @@ -45,9 +49,11 @@ bb: ; preds = %bb, %entry

return: ; preds = %bb
ret void
; CHECK: @test3
; CHECK: icmp
}

define void @bar4() nounwind {
define void @test4() nounwind {
entry:
br label %bb

Expand All @@ -60,6 +66,8 @@ bb: ; preds = %bb, %entry

return: ; preds = %bb
ret void
; CHECK: @test4
; CHECK: icmp
}


0 comments on commit 203bceb

Please sign in to comment.