mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
4572ce85b0
llvm-svn: 33296
19 lines
635 B
LLVM
19 lines
635 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc
|
|
|
|
void %QRiterate(int %p.1, double %tmp.212) {
|
|
entry: ; No predecessors!
|
|
%tmp.184 = setgt int %p.1, 0 ; <bool> [#uses=1]
|
|
br bool %tmp.184, label %shortcirc_next.1, label %shortcirc_done.1
|
|
|
|
shortcirc_next.1: ; preds = %entry
|
|
%tmp.213 = setne double %tmp.212, 0.000000e+00
|
|
br label %shortcirc_done.1
|
|
|
|
shortcirc_done.1: ; preds = %entry, %shortcirc_next.1
|
|
%val.1 = phi bool [ false, %entry ], [ %tmp.213, %shortcirc_next.1 ]
|
|
br bool %val.1, label %shortcirc_next.1, label %exit.1
|
|
|
|
exit.1:
|
|
ret void
|
|
}
|