For PR1319:
[oota-llvm.git] / test / CodeGen / ARM / compare-call.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6,+vfp2 | \
2 ; RUN:   grep fcmpes
3
4 void %test3(float* %glob, int %X) {
5 entry:
6         %tmp = load float* %glob                ; <float> [#uses=1]
7         %tmp2 = getelementptr float* %glob, int 2               ; <float*> [#uses=1]
8         %tmp3 = load float* %tmp2               ; <float> [#uses=1]
9         %tmp = setgt float %tmp, %tmp3          ; <bool> [#uses=1]
10         br bool %tmp, label %cond_true, label %UnifiedReturnBlock
11
12 cond_true:              ; preds = %entry
13         %tmp = tail call int (...)* %bar( )             ; <int> [#uses=0]
14         ret void
15
16 UnifiedReturnBlock:             ; preds = %entry
17         ret void
18 }
19
20 declare int %bar(...)