Skip to content

Commit a51edf0

Browse files
committed
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
1 parent 529ec71 commit a51edf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
; RUN: opt -indvars -scalar-evolution -analyze %s
1+
; RUN: opt -indvars -scalar-evolution -analyze < %s | FileCheck %s
22
; This test checks if the SCEV analysis is printed out at all.
33
; It failed once as the RequiredTransitive option was not implemented
44
; correctly.
55

6+
; CHECK: Classifying expressions for: @main
7+
68
define i32 @main() nounwind {
79
entry:
810
br label %for.cond

0 commit comments

Comments
 (0)