llvm.org GIT mirror llvm / 9e92152
indvars test case for r135558. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135559 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Trick 8 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
329329 %first = getelementptr inbounds %structIF* %base, i64 0, i32 0
330330 br label %loop
331331
332 ; CHECK: loop:
333 ; CHECK: phi %structIF*
334 ; CHECK: phi i32*
335 ; CHECK: getelementptr inbounds
336 ; CHECK: getelementptr inbounds
337 ; CHECK: exit:
332338 loop:
333339 %ptr.iv = phi %structIF* [ %ptr.inc, %latch ], [ %base, %entry ]
334340 %next = phi i32* [ %next.inc, %latch ], [ %first, %entry ]
341 store i32 4, i32* %next
335342 br i1 undef, label %latch, label %exit
336343
337344 latch: ; preds = %for.inc50.i