diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll')
-rw-r--r-- | test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll b/test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll index 6333291..5650f81 100644 --- a/test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll +++ b/test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll @@ -1,15 +1,15 @@ ; RUN: opt < %s -loop-reduce -S | FileCheck %s ; CHECK: bb1: -; CHECK: load double addrspace(1)* [[IV:%[^,]+]] +; CHECK: load double, double addrspace(1)* [[IV:%[^,]+]] ; CHECK: store double {{.*}}, double addrspace(1)* [[IV]] ; CHECK-NOT: cast ; Make sure the GEP has the right index type -; CHECK: getelementptr double addrspace(1)* [[IV]], i16 1 +; CHECK: getelementptr double, double addrspace(1)* [[IV]], i16 1 ; CHECK: br {{.*}} label %bb1 ; Make sure the GEP has the right index type -; CHECK: getelementptr double addrspace(1)* {{.*}}, i16 +; CHECK: getelementptr double, double addrspace(1)* {{.*}}, i16 ; This test tests several things. The load and store should use the @@ -36,11 +36,11 @@ bb1: ; preds = %bb2, %bb.nph %tmp3 = add i64 %j.01, %tmp1 ; <i64> [#uses=1] %tmp4 = add i64 %j.01, %tmp2 ; <i64> [#uses=1] %z0 = add i64 %tmp3, 5203 - %tmp5 = getelementptr double addrspace(1)* %p, i64 %z0 ; <double addrspace(1)*> [#uses=1] - %tmp6 = load double addrspace(1)* %tmp5, align 8 ; <double> [#uses=1] + %tmp5 = getelementptr double, double addrspace(1)* %p, i64 %z0 ; <double addrspace(1)*> [#uses=1] + %tmp6 = load double, double addrspace(1)* %tmp5, align 8 ; <double> [#uses=1] %tmp7 = fdiv double %tmp6, 2.100000e+00 ; <double> [#uses=1] %z1 = add i64 %tmp4, 5203 - %tmp8 = getelementptr double addrspace(1)* %p, i64 %z1 ; <double addrspace(1)*> [#uses=1] + %tmp8 = getelementptr double, double addrspace(1)* %p, i64 %z1 ; <double addrspace(1)*> [#uses=1] store double %tmp7, double addrspace(1)* %tmp8, align 8 %tmp9 = add i64 %j.01, 1 ; <i64> [#uses=2] br label %bb2 |