1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

New testcase for PR194

llvm-svn: 10568
This commit is contained in:
Chris Lattner 2003-12-21 19:06:15 +00:00
parent 0e892b6337
commit 97e7a7dd20

View File

@ -0,0 +1,12 @@
; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar | not grep uint
%G = global long 0
void %test() {
br label %Loop
Loop:
%X = phi long [1, %0], [%X.next, %Loop]
%X.next = add long %X, 1
store long %X, long* %G
br label %Loop
}