[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / AArch64 / aarch64-a57-fp-load-balancing.ll
index 7108bc0e91a9aa9cd0aa6bbca5855e0c75568b3d..dace22ef2b289f0bf72daead60bd8a852608a6f3 100644 (file)
@@ -30,13 +30,13 @@ target triple = "aarch64"
 define void @f1(double* nocapture readonly %p, double* nocapture %q) #0 {
 entry:
   %0 = load double* %p, align 8
-  %arrayidx1 = getelementptr inbounds double* %p, i64 1
+  %arrayidx1 = getelementptr inbounds double, double* %p, i64 1
   %1 = load double* %arrayidx1, align 8
-  %arrayidx2 = getelementptr inbounds double* %p, i64 2
+  %arrayidx2 = getelementptr inbounds double, double* %p, i64 2
   %2 = load double* %arrayidx2, align 8
-  %arrayidx3 = getelementptr inbounds double* %p, i64 3
+  %arrayidx3 = getelementptr inbounds double, double* %p, i64 3
   %3 = load double* %arrayidx3, align 8
-  %arrayidx4 = getelementptr inbounds double* %p, i64 4
+  %arrayidx4 = getelementptr inbounds double, double* %p, i64 4
   %4 = load double* %arrayidx4, align 8
   %mul = fmul fast double %0, %1
   %add = fadd fast double %mul, %4
@@ -47,18 +47,18 @@ entry:
   %mul8 = fmul fast double %2, %3
   %add9 = fadd fast double %mul8, %sub
   store double %add9, double* %q, align 8
-  %arrayidx11 = getelementptr inbounds double* %p, i64 5
+  %arrayidx11 = getelementptr inbounds double, double* %p, i64 5
   %5 = load double* %arrayidx11, align 8
-  %arrayidx12 = getelementptr inbounds double* %p, i64 6
+  %arrayidx12 = getelementptr inbounds double, double* %p, i64 6
   %6 = load double* %arrayidx12, align 8
-  %arrayidx13 = getelementptr inbounds double* %p, i64 7
+  %arrayidx13 = getelementptr inbounds double, double* %p, i64 7
   %7 = load double* %arrayidx13, align 8
   %mul15 = fmul fast double %6, %7
   %mul16 = fmul fast double %0, %5
   %add17 = fadd fast double %mul16, %mul15
   %mul18 = fmul fast double %5, %6
   %add19 = fadd fast double %mul18, %add17
-  %arrayidx20 = getelementptr inbounds double* %q, i64 1
+  %arrayidx20 = getelementptr inbounds double, double* %q, i64 1
   store double %add19, double* %arrayidx20, align 8
   ret void
 }
@@ -82,19 +82,19 @@ entry:
 define void @f2(double* nocapture readonly %p, double* nocapture %q) #0 {
 entry:
   %0 = load double* %p, align 8
-  %arrayidx1 = getelementptr inbounds double* %p, i64 1
+  %arrayidx1 = getelementptr inbounds double, double* %p, i64 1
   %1 = load double* %arrayidx1, align 8
-  %arrayidx2 = getelementptr inbounds double* %p, i64 2
+  %arrayidx2 = getelementptr inbounds double, double* %p, i64 2
   %2 = load double* %arrayidx2, align 8
-  %arrayidx3 = getelementptr inbounds double* %p, i64 3
+  %arrayidx3 = getelementptr inbounds double, double* %p, i64 3
   %3 = load double* %arrayidx3, align 8
-  %arrayidx4 = getelementptr inbounds double* %p, i64 4
+  %arrayidx4 = getelementptr inbounds double, double* %p, i64 4
   %4 = load double* %arrayidx4, align 8
-  %arrayidx5 = getelementptr inbounds double* %p, i64 5
+  %arrayidx5 = getelementptr inbounds double, double* %p, i64 5
   %5 = load double* %arrayidx5, align 8
-  %arrayidx6 = getelementptr inbounds double* %p, i64 6
+  %arrayidx6 = getelementptr inbounds double, double* %p, i64 6
   %6 = load double* %arrayidx6, align 8
-  %arrayidx7 = getelementptr inbounds double* %p, i64 7
+  %arrayidx7 = getelementptr inbounds double, double* %p, i64 7
   %7 = load double* %arrayidx7, align 8
   %mul = fmul fast double %0, %1
   %add = fadd fast double %mul, %7
@@ -110,7 +110,7 @@ entry:
   %mul16 = fmul fast double %2, %3
   %add17 = fadd fast double %mul16, %sub
   store double %add17, double* %q, align 8
-  %arrayidx19 = getelementptr inbounds double* %q, i64 1
+  %arrayidx19 = getelementptr inbounds double, double* %q, i64 1
   store double %add15, double* %arrayidx19, align 8
   ret void
 }
@@ -128,13 +128,13 @@ entry:
 define void @f3(double* nocapture readonly %p, double* nocapture %q) #0 {
 entry:
   %0 = load double* %p, align 8
-  %arrayidx1 = getelementptr inbounds double* %p, i64 1
+  %arrayidx1 = getelementptr inbounds double, double* %p, i64 1
   %1 = load double* %arrayidx1, align 8
-  %arrayidx2 = getelementptr inbounds double* %p, i64 2
+  %arrayidx2 = getelementptr inbounds double, double* %p, i64 2
   %2 = load double* %arrayidx2, align 8
-  %arrayidx3 = getelementptr inbounds double* %p, i64 3
+  %arrayidx3 = getelementptr inbounds double, double* %p, i64 3
   %3 = load double* %arrayidx3, align 8
-  %arrayidx4 = getelementptr inbounds double* %p, i64 4
+  %arrayidx4 = getelementptr inbounds double, double* %p, i64 4
   %4 = load double* %arrayidx4, align 8
   %mul = fmul fast double %0, %1
   %add = fadd fast double %mul, %4
@@ -177,19 +177,19 @@ declare void @g(...) #1
 define void @f4(float* nocapture readonly %p, float* nocapture %q) #0 {
 entry:
   %0 = load float* %p, align 4
-  %arrayidx1 = getelementptr inbounds float* %p, i64 1
+  %arrayidx1 = getelementptr inbounds float, float* %p, i64 1
   %1 = load float* %arrayidx1, align 4
-  %arrayidx2 = getelementptr inbounds float* %p, i64 2
+  %arrayidx2 = getelementptr inbounds float, float* %p, i64 2
   %2 = load float* %arrayidx2, align 4
-  %arrayidx3 = getelementptr inbounds float* %p, i64 3
+  %arrayidx3 = getelementptr inbounds float, float* %p, i64 3
   %3 = load float* %arrayidx3, align 4
-  %arrayidx4 = getelementptr inbounds float* %p, i64 4
+  %arrayidx4 = getelementptr inbounds float, float* %p, i64 4
   %4 = load float* %arrayidx4, align 4
-  %arrayidx5 = getelementptr inbounds float* %p, i64 5
+  %arrayidx5 = getelementptr inbounds float, float* %p, i64 5
   %5 = load float* %arrayidx5, align 4
-  %arrayidx6 = getelementptr inbounds float* %p, i64 6
+  %arrayidx6 = getelementptr inbounds float, float* %p, i64 6
   %6 = load float* %arrayidx6, align 4
-  %arrayidx7 = getelementptr inbounds float* %p, i64 7
+  %arrayidx7 = getelementptr inbounds float, float* %p, i64 7
   %7 = load float* %arrayidx7, align 4
   %mul = fmul fast float %0, %1
   %add = fadd fast float %mul, %7
@@ -205,7 +205,7 @@ entry:
   %mul16 = fmul fast float %2, %3
   %add17 = fadd fast float %mul16, %sub
   store float %add17, float* %q, align 4
-  %arrayidx19 = getelementptr inbounds float* %q, i64 1
+  %arrayidx19 = getelementptr inbounds float, float* %q, i64 1
   store float %add15, float* %arrayidx19, align 4
   ret void
 }
@@ -223,13 +223,13 @@ entry:
 define void @f5(float* nocapture readonly %p, float* nocapture %q) #0 {
 entry:
   %0 = load float* %p, align 4
-  %arrayidx1 = getelementptr inbounds float* %p, i64 1
+  %arrayidx1 = getelementptr inbounds float, float* %p, i64 1
   %1 = load float* %arrayidx1, align 4
-  %arrayidx2 = getelementptr inbounds float* %p, i64 2
+  %arrayidx2 = getelementptr inbounds float, float* %p, i64 2
   %2 = load float* %arrayidx2, align 4
-  %arrayidx3 = getelementptr inbounds float* %p, i64 3
+  %arrayidx3 = getelementptr inbounds float, float* %p, i64 3
   %3 = load float* %arrayidx3, align 4
-  %arrayidx4 = getelementptr inbounds float* %p, i64 4
+  %arrayidx4 = getelementptr inbounds float, float* %p, i64 4
   %4 = load float* %arrayidx4, align 4
   %mul = fmul fast float %0, %1
   %add = fadd fast float %mul, %4
@@ -265,13 +265,13 @@ if.end:                                           ; preds = %if.then, %entry
 define void @f6(double* nocapture readonly %p, double* nocapture %q) #0 {
 entry:
   %0 = load double* %p, align 8
-  %arrayidx1 = getelementptr inbounds double* %p, i64 1
+  %arrayidx1 = getelementptr inbounds double, double* %p, i64 1
   %1 = load double* %arrayidx1, align 8
-  %arrayidx2 = getelementptr inbounds double* %p, i64 2
+  %arrayidx2 = getelementptr inbounds double, double* %p, i64 2
   %2 = load double* %arrayidx2, align 8
-  %arrayidx3 = getelementptr inbounds double* %p, i64 3
+  %arrayidx3 = getelementptr inbounds double, double* %p, i64 3
   %3 = load double* %arrayidx3, align 8
-  %arrayidx4 = getelementptr inbounds double* %p, i64 4
+  %arrayidx4 = getelementptr inbounds double, double* %p, i64 4
   %4 = load double* %arrayidx4, align 8
   %mul = fmul fast double %0, %1
   %add = fadd fast double %mul, %4
@@ -300,13 +300,13 @@ declare double @hh(double) #1
 define void @f7(double* nocapture readonly %p, double* nocapture %q) #0 {
 entry:
   %0 = load double* %p, align 8
-  %arrayidx1 = getelementptr inbounds double* %p, i64 1
+  %arrayidx1 = getelementptr inbounds double, double* %p, i64 1
   %1 = load double* %arrayidx1, align 8
-  %arrayidx2 = getelementptr inbounds double* %p, i64 2
+  %arrayidx2 = getelementptr inbounds double, double* %p, i64 2
   %2 = load double* %arrayidx2, align 8
-  %arrayidx3 = getelementptr inbounds double* %p, i64 3
+  %arrayidx3 = getelementptr inbounds double, double* %p, i64 3
   %3 = load double* %arrayidx3, align 8
-  %arrayidx4 = getelementptr inbounds double* %p, i64 4
+  %arrayidx4 = getelementptr inbounds double, double* %p, i64 4
   %4 = load double* %arrayidx4, align 8
   %mul = fmul fast double %0, %1
   %add = fadd fast double %mul, %4