[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git] / test / CodeGen / ARM / 2009-07-29-VFP3Registers.ll
index dc1f73a79b8999b801bd38d465949621878618c2..01591c80362dadce573c2b19b4ec2dd950207b7c 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | llc -mtriple=armv7-apple-darwin10 -mattr=+vfp3
+; RUN: llc < %s -mtriple=armv7-apple-darwin10 -mattr=+vfp3
 
 @a = external global double            ; <double*> [#uses=1]
 
 declare double @llvm.exp.f64(double) nounwind readonly
 
-define arm_apcscc void @findratio(double* nocapture %res1, double* nocapture %res2) nounwind {
+define void @findratio(double* nocapture %res1, double* nocapture %res2) nounwind {
 entry:
        br label %bb
 
@@ -12,7 +12,7 @@ bb:           ; preds = %bb, %entry
        br i1 undef, label %bb28, label %bb
 
 bb28:          ; preds = %bb
-       %0 = load double* @a, align 4           ; <double> [#uses=2]
+       %0 = load double, double* @a, align 4           ; <double> [#uses=2]
        %1 = fadd double %0, undef              ; <double> [#uses=2]
        br i1 undef, label %bb59, label %bb60