[llvm-commits] [llvm] r171248 - /llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll

Dmitri Gribenko gribozavr at gmail.com
Sat Dec 29 17:42:34 PST 2012


Author: gribozavr
Date: Sat Dec 29 19:42:34 2012
New Revision: 171248

URL: http://llvm.org/viewvc/llvm-project?rev=171248&view=rev
Log:
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).

Modified:
    llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll

Modified: llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll?rev=171248&r1=171247&r2=171248&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll (original)
+++ llvm/trunk/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll Sat Dec 29 19:42:34 2012
@@ -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





More information about the llvm-commits mailing list