[opaque pointer types] Add an explicit pointee type to alias records in the IR
[oota-llvm.git] / test / Feature / x86ld.ll
index 32005aee305d007f0ba36de12cd6f424553b1e5c..7f91abd6d7ff5353e52b40180ceed73c0d3b4ff5 100644 (file)
@@ -12,15 +12,15 @@ define i32 @foo() {
 entry:
        %retval = alloca i32, align 4           ; <i32*> [#uses=1]
        %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-       %tmp = load float* @f           ; <float> [#uses=1]
+       %tmp = load float, float* @f            ; <float> [#uses=1]
        %tmp1 = fpext float %tmp to double              ; <double> [#uses=1]
-       %tmp2 = load double* @d         ; <double> [#uses=1]
+       %tmp2 = load double, double* @d         ; <double> [#uses=1]
        %tmp3 = fmul double %tmp1, %tmp2                ; <double> [#uses=1]
        %tmp4 = fpext double %tmp3 to x86_fp80          ; <x86_fp80> [#uses=1]
        store x86_fp80 %tmp4, x86_fp80* @ld
        br label %return
 
 return:                ; preds = %entry
-       %retval4 = load i32* %retval            ; <i32> [#uses=1]
+       %retval4 = load i32, i32* %retval               ; <i32> [#uses=1]
        ret i32 %retval4
 }