[CaptureTracking] Support operand bundles conservatively
[oota-llvm.git] / test / Feature / sparcld.ll
1 ; RUN: llvm-as < %s | llvm-dis > %t
2 ; RUN: llvm-as < %t | llvm-dis > %t2
3 ; RUN: diff %t %t2
4 ; ModuleID = '<stdin>'
5 @ld = external global fp128             ; <fp128*> [#uses=1]
6 @d = global double 4.050000e+00, align 8                ; <double*> [#uses=1]
7 @f = global float 0x4010333340000000            ; <float*> [#uses=1]
8
9 define i32 @foo() {
10 entry:
11         %retval = alloca i32, align 4           ; <i32*> [#uses=1]
12         %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
13         %tmp = load float, float* @f            ; <float> [#uses=1]
14         %tmp1 = fpext float %tmp to double              ; <double> [#uses=1]
15         %tmp2 = load double, double* @d         ; <double> [#uses=1]
16         %tmp3 = fmul double %tmp1, %tmp2                ; <double> [#uses=1]
17         %tmp4 = fpext double %tmp3 to fp128             ; <fp128> [#uses=1]
18         store fp128 %tmp4, fp128* @ld
19         br label %return
20
21 return:         ; preds = %entry
22         %retval4 = load i32, i32* %retval               ; <i32> [#uses=1]
23         ret i32 %retval4
24 }