Handle logical shift right (at least I hope so :) )
[llvm/msp430.git] / test / CodeGen / ARM / compare-call.ll
blobfcb8b179c803dda759c4cb47f745c40e561a53b3
1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | \
2 ; RUN:   grep fcmpes
4 define void @test3(float* %glob, i32 %X) {
5 entry:
6         %tmp = load float* %glob                ; <float> [#uses=1]
7         %tmp2 = getelementptr float* %glob, i32 2               ; <float*> [#uses=1]
8         %tmp3 = load float* %tmp2               ; <float> [#uses=1]
9         %tmp.upgrd.1 = fcmp ogt float %tmp, %tmp3               ; <i1> [#uses=1]
10         br i1 %tmp.upgrd.1, label %cond_true, label %UnifiedReturnBlock
12 cond_true:              ; preds = %entry
13         %tmp.upgrd.2 = tail call i32 (...)* @bar( )             ; <i32> [#uses=0]
14         ret void
16 UnifiedReturnBlock:             ; preds = %entry
17         ret void
20 declare i32 @bar(...)