Tweak this test to be a little less unusual.

llvm-svn: 73808
This commit is contained in:
Dan Gohman 2009-06-20 00:40:56 +00:00
parent 29100270c0
commit b60dedbf0a

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {1,+,2}<loop>:}
; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
; The value of %r is dependent on a polynomial iteration expression.
@ -13,6 +13,6 @@ loop:
br i1 %c, label %exit, label %loop
exit:
%r = mul i64 %indvar, %indvar
%r = mul i64 %indvar.next, %indvar.next
ret i64 %r
}