summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-30 01:42:34 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-30 01:42:34 +0000
commit10c4b4d24996a02a61d8e9a2e337acdd9c0b6366 (patch)
tree48ff472651579b1533c9b77d96c681ae4b4423a5
parentb1d12619c994c6d5266ba57e0f52c99cd637e7d8 (diff)
downloadbcm5719-llvm-10c4b4d24996a02a61d8e9a2e337acdd9c0b6366.tar.gz
bcm5719-llvm-10c4b4d24996a02a61d8e9a2e337acdd9c0b6366.zip
Add a check to the test Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
This test did not test anything at all (except for opt crashing, but that was not the reason why it was added). llvm-svn: 171248
-rw-r--r--llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll b/llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
index aba0ce74678..5a023981041 100644
--- a/llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
+++ b/llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
@@ -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
OpenPOWER on IntegriCloud