diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-03 06:27:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-03 06:27:56 +0000 |
| commit | 2508bcf17632732fe50c2bccc47cded891bcdff9 (patch) | |
| tree | 6df946dfe41736f7254443a782e853efcd9a2406 | |
| parent | 42202868c3fbfa1d47c9fbbe8b1f544093a862a3 (diff) | |
| download | llvm-2508bcf17632732fe50c2bccc47cded891bcdff9.zip llvm-2508bcf17632732fe50c2bccc47cded891bcdff9.tar.gz llvm-2508bcf17632732fe50c2bccc47cded891bcdff9.tar.bz2 | |
convert to filecheck
llvm-svn: 100281
| -rw-r--r-- | llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll b/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll index 7b4032b..8d75846 100644 --- a/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll +++ b/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll @@ -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 @@ 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 @@ -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 @@ -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 @@ -60,6 +66,8 @@ bb: ; preds = %bb, %entry return: ; preds = %bb ret void +; CHECK: @test4 +; CHECK: icmp } |
