mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 16:54:48 +00:00
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
This commit is contained in:
parent
763bad1a2b
commit
97b52b2a88
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user