mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 09:01:37 +00:00
4572ce85b0
llvm-svn: 33296
12 lines
205 B
LLVM
12 lines
205 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
int %main() {
|
|
br label %Loop
|
|
Loop:
|
|
%X = phi int [0, %0], [1, %Loop]
|
|
br bool true, label %Out, label %Loop
|
|
Out:
|
|
ret int %X
|
|
}
|