This test needs to be upgraded in preparation for the SETCC patch.
[oota-llvm.git] / test / CodeGen / Generic / 2003-05-27-phifcmpd.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc
2
3 void %QRiterate(int %p.1, double %tmp.212) { 
4 entry:          ; No predecessors!
5         %tmp.184 = setgt int %p.1, 0            ; <bool> [#uses=1]
6         br bool %tmp.184, label %shortcirc_next.1, label %shortcirc_done.1
7
8 shortcirc_next.1:               ; preds = %entry
9         %tmp.213 = setne double %tmp.212, 0.000000e+00
10         br label %shortcirc_done.1
11
12 shortcirc_done.1:               ; preds = %entry, %shortcirc_next.1
13         %val.1 = phi bool [ false, %entry ], [ %tmp.213, %shortcirc_next.1 ]
14         br bool %val.1, label %shortcirc_next.1, label %exit.1
15
16 exit.1:
17         ret void
18 }