[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / compare-call.ll
blob47f20a28b8ac3b9448087ba101d55201215e721a
1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o - | FileCheck %s
3 define void @test3(float* %glob, i32 %X) {
4 entry:
5         %tmp = load float, float* %glob                ; <float> [#uses=1]
6         %tmp2 = getelementptr float, float* %glob, i32 2               ; <float*> [#uses=1]
7         %tmp3 = load float, float* %tmp2               ; <float> [#uses=1]
8         %tmp.upgrd.1 = fcmp ogt float %tmp, %tmp3               ; <i1> [#uses=1]
9         br i1 %tmp.upgrd.1, label %cond_true, label %UnifiedReturnBlock
11 cond_true:              ; preds = %entry
12         %tmp.upgrd.2 = tail call i32 (...) @bar( )             ; <i32> [#uses=0]
13         ret void
15 UnifiedReturnBlock:             ; preds = %entry
16         ret void
19 declare i32 @bar(...)
21 ; CHECK: vcmp.f32