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:
parent
0e892b6337
commit
97e7a7dd20
@ -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
Block a user