mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
indvars test case for r135558.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f22d95749a
commit
9e92152f77
@ -330,9 +330,16 @@ entry:
|
||||
%first = getelementptr inbounds %structIF* %base, i64 0, i32 0
|
||||
br label %loop
|
||||
|
||||
; CHECK: loop:
|
||||
; CHECK: phi %structIF*
|
||||
; CHECK: phi i32*
|
||||
; CHECK: getelementptr inbounds
|
||||
; CHECK: getelementptr inbounds
|
||||
; CHECK: exit:
|
||||
loop:
|
||||
%ptr.iv = phi %structIF* [ %ptr.inc, %latch ], [ %base, %entry ]
|
||||
%next = phi i32* [ %next.inc, %latch ], [ %first, %entry ]
|
||||
store i32 4, i32* %next
|
||||
br i1 undef, label %latch, label %exit
|
||||
|
||||
latch: ; preds = %for.inc50.i
|
||||
|
Loading…
Reference in New Issue
Block a user