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
This commit is contained in:
Dmitri Gribenko 2012-12-30 01:42:34 +00:00
parent b1d12619c9
commit 10c4b4d249
1 changed files with 3 additions and 1 deletions

View 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