~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/Thumb2/2009-07-23-CPIslandBug.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=thumbv7-apple-darwin9 -mattr=+vfp2,+thumb2
 
2
; rdar://7083961
 
3
 
 
4
define i32 @value(i64 %b1, i64 %b2) nounwind readonly {
 
5
entry:
 
6
        %0 = icmp eq i32 undef, 0               ; <i1> [#uses=1]
 
7
        %mod.0.ph.ph = select i1 %0, float -1.000000e+00, float 1.000000e+00            ; <float> [#uses=1]
 
8
        br label %bb7
 
9
 
 
10
bb7:            ; preds = %bb7, %entry
 
11
        br i1 undef, label %bb86.preheader, label %bb7
 
12
 
 
13
bb86.preheader:         ; preds = %bb7
 
14
        %1 = fmul float %mod.0.ph.ph, 5.000000e+00              ; <float> [#uses=0]
 
15
        br label %bb79
 
16
 
 
17
bb79:           ; preds = %bb79, %bb86.preheader
 
18
        br i1 undef, label %bb119, label %bb79
 
19
 
 
20
bb119:          ; preds = %bb79
 
21
        ret i32 undef
 
22
}