mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
1fe2d63344
llvm-svn: 12596
23 lines
421 B
Plaintext
23 lines
421 B
Plaintext
; RUN: llvm-as < %s | opt -tailduplicate -disable-output
|
|
|
|
void %interpret() {
|
|
entry:
|
|
br label %retry
|
|
|
|
retry:
|
|
%tmp.8 = call int %interp()
|
|
switch uint 0, label %endif.4 [
|
|
uint 4294967271, label %return
|
|
uint 4294967280, label %return
|
|
]
|
|
|
|
endif.4:
|
|
br bool false, label %return, label %retry
|
|
|
|
return:
|
|
%result.0 = phi int [ %tmp.8, %retry ], [%tmp.8, %retry], [ %tmp.8, %endif.4 ]
|
|
ret void
|
|
}
|
|
|
|
declare int %interp()
|