llvm.org GIT mirror llvm / 97b52b2
Tweak this test to be a little less unusual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73808 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {1,+,2}:}
0 ; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}:}
11
22 ; The value of %r is dependent on a polynomial iteration expression.
33
1212 br i1 %c, label %exit, label %loop
1313
1414 exit:
15 %r = mul i64 %indvar, %indvar
15 %r = mul i64 %indvar.next, %indvar.next
1616 ret i64 %r
1717 }