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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitri Gribenko 2012-12-30 01:42:34 +00:00
parent 529ec718ac
commit a51edf0986

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