forked from OSchip/llvm-project
parent
2103574b32
commit
7b432f77ac
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue