[llvm-commits] [llvm] r100281 - /llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll
Chris Lattner
sabre at nondot.org
Fri Apr 2 23:27:56 PDT 2010
Author: lattner
Date: Sat Apr 3 01:27:56 2010
New Revision: 100281
URL: http://llvm.org/viewvc/llvm-project?rev=100281&view=rev
Log:
convert to filecheck
Modified:
llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll
Modified: llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll?rev=100281&r1=100280&r2=100281&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll Sat Apr 3 01:27:56 2010
@@ -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
@@ -12,11 +12,13 @@
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
@@ -29,10 +31,12 @@
return: ; preds = %bb
ret void
+; CHECK: @test2
+; CHECK: icmp
}
-define void @bar3() nounwind {
+define void @test3() nounwind {
entry:
br label %bb
@@ -45,9 +49,11 @@
return: ; preds = %bb
ret void
+; CHECK: @test3
+; CHECK: icmp
}
-define void @bar4() nounwind {
+define void @test4() nounwind {
entry:
br label %bb
@@ -60,6 +66,8 @@
return: ; preds = %bb
ret void
+; CHECK: @test4
+; CHECK: icmp
}
More information about the llvm-commits
mailing list