Add a check to the test Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
authorDmitri Gribenko <gribozavr@gmail.com>
Sun, 30 Dec 2012 01:42:34 +0000 (01:42 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Sun, 30 Dec 2012 01:42:34 +0000 (01:42 +0000)
This test did not test anything at all (except for opt crashing, but that was
not the reason why it was added).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171248 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll

index aba0ce74678f814feeea8a4840a2936fe4d12c80..5a02398104186c051c274142b4ba1fde8abf07c0 100644 (file)
@@ -1,8 +1,10 @@
-; RUN: opt -indvars -scalar-evolution -analyze %s
+; RUN: opt -indvars -scalar-evolution -analyze < %s | FileCheck %s
 ; This test checks if the SCEV analysis is printed out at all.
 ; It failed once as the RequiredTransitive option was not implemented
 ; correctly.
 
+; CHECK: Classifying expressions for: @main
+
 define i32 @main() nounwind {
 entry:
   br label %for.cond