diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-08 08:55:49 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-09 15:04:38 -0700 |
commit | 4c5e43da7792f75567b693105cc53e3f1992ad98 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/PowerPC/ctrloop-fp64.ll | |
parent | c75239e6119d0f9a74c57099d91cbc9bde56bf33 (diff) | |
download | external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.zip external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.tar.gz external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.tar.bz2 |
Update aosp/master llvm for rebase to r233350
Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
Diffstat (limited to 'test/CodeGen/PowerPC/ctrloop-fp64.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ctrloop-fp64.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/ctrloop-fp64.ll b/test/CodeGen/PowerPC/ctrloop-fp64.ll index 77555ac..6128d7c 100644 --- a/test/CodeGen/PowerPC/ctrloop-fp64.ll +++ b/test/CodeGen/PowerPC/ctrloop-fp64.ll @@ -10,8 +10,8 @@ entry: for.body: ; preds = %for.body, %entry %i.06 = phi i32 [ 0, %entry ], [ %inc, %for.body ] %x.05 = phi i64 [ 0, %entry ], [ %conv1, %for.body ] - %arrayidx = getelementptr inbounds double* %n, i32 %i.06 - %0 = load double* %arrayidx, align 8 + %arrayidx = getelementptr inbounds double, double* %n, i32 %i.06 + %0 = load double, double* %arrayidx, align 8 %conv = sitofp i64 %x.05 to double %add = fadd double %conv, %0 %conv1 = fptosi double %add to i64 @@ -31,7 +31,7 @@ for.end: ; preds = %for.body define i32 @main(i32 %argc, i8** nocapture %argv) { entry: - %0 = load double* @init_value, align 8 + %0 = load double, double* @init_value, align 8 %conv = fptosi double %0 to i64 %broadcast.splatinsert.i = insertelement <2 x i64> undef, i64 %conv, i32 0 %broadcast.splat.i = shufflevector <2 x i64> %broadcast.splatinsert.i, <2 x i64> undef, <2 x i32> zeroinitializer @@ -39,11 +39,11 @@ entry: vector.body.i: ; preds = %vector.body.i, %entry %index.i = phi i32 [ 0, %entry ], [ %index.next.i, %vector.body.i ] - %next.gep.i = getelementptr [8000 x i64]* @data64, i32 0, i32 %index.i + %next.gep.i = getelementptr [8000 x i64], [8000 x i64]* @data64, i32 0, i32 %index.i %1 = bitcast i64* %next.gep.i to <2 x i64>* store <2 x i64> %broadcast.splat.i, <2 x i64>* %1, align 8 %next.gep.sum24.i = or i32 %index.i, 2 - %2 = getelementptr [8000 x i64]* @data64, i32 0, i32 %next.gep.sum24.i + %2 = getelementptr [8000 x i64], [8000 x i64]* @data64, i32 0, i32 %next.gep.sum24.i %3 = bitcast i64* %2 to <2 x i64>* store <2 x i64> %broadcast.splat.i, <2 x i64>* %3, align 8 %index.next.i = add i32 %index.i, 4 |