~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/Thumb2/2009-08-08-ScavengerAssert.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=armv7-eabi -mattr=+vfp2
 
2
; PR4686
 
3
 
 
4
@g_d = external global double           ; <double*> [#uses=1]
 
5
 
 
6
define void @foo(float %yIncr) {
 
7
entry:
 
8
        br i1 undef, label %bb, label %bb4
 
9
 
 
10
bb:             ; preds = %entry
 
11
        %0 = call arm_aapcs_vfpcc  float @bar()         ; <float> [#uses=1]
 
12
        %1 = fpext float %0 to double           ; <double> [#uses=1]
 
13
        store double %1, double* @g_d, align 8
 
14
        br label %bb4
 
15
 
 
16
bb4:            ; preds = %bb, %entry
 
17
        unreachable
 
18
}
 
19
 
 
20
declare arm_aapcs_vfpcc float @bar()