• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=arm -mattr=+v6,+vfp2 | \
2; RUN:   grep vcmpe.f32
3
4define void @test3(float* %glob, i32 %X) {
5entry:
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
11
12cond_true:              ; preds = %entry
13        %tmp.upgrd.2 = tail call i32 (...)* @bar( )             ; <i32> [#uses=0]
14        ret void
15
16UnifiedReturnBlock:             ; preds = %entry
17        ret void
18}
19
20declare i32 @bar(...)
21