diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 21:22:52 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-10 21:23:04 +0000 |
commit | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/Transforms/SLPVectorizer/X86/extract.ll | |
parent | c75239e6119d0f9a74c57099d91cbc9bde56bf33 (diff) | |
parent | 4c5e43da7792f75567b693105cc53e3f1992ad98 (diff) | |
download | external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.zip external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.tar.gz external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.tar.bz2 |
Merge "Update aosp/master llvm for rebase to r233350"
Diffstat (limited to 'test/Transforms/SLPVectorizer/X86/extract.ll')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/extract.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Transforms/SLPVectorizer/X86/extract.ll b/test/Transforms/SLPVectorizer/X86/extract.ll index f611fd4..9a6ee2a 100644 --- a/test/Transforms/SLPVectorizer/X86/extract.ll +++ b/test/Transforms/SLPVectorizer/X86/extract.ll @@ -9,11 +9,11 @@ target triple = "x86_64-apple-macosx10.8.0" ;CHECK: ret void define void @fextr(double* %ptr) { entry: - %LD = load <2 x double>* undef + %LD = load <2 x double>, <2 x double>* undef %V0 = extractelement <2 x double> %LD, i32 0 %V1 = extractelement <2 x double> %LD, i32 1 - %P0 = getelementptr inbounds double* %ptr, i64 0 - %P1 = getelementptr inbounds double* %ptr, i64 1 + %P0 = getelementptr inbounds double, double* %ptr, i64 0 + %P1 = getelementptr inbounds double, double* %ptr, i64 1 %A0 = fadd double %V0, 0.0 %A1 = fadd double %V1, 1.1 store double %A0, double* %P0, align 4 @@ -27,11 +27,11 @@ entry: ;CHECK: ret void define void @fextr1(double* %ptr) { entry: - %LD = load <2 x double>* undef + %LD = load <2 x double>, <2 x double>* undef %V0 = extractelement <2 x double> %LD, i32 0 %V1 = extractelement <2 x double> %LD, i32 1 - %P0 = getelementptr inbounds double* %ptr, i64 1 ; <--- incorrect order - %P1 = getelementptr inbounds double* %ptr, i64 0 + %P0 = getelementptr inbounds double, double* %ptr, i64 1 ; <--- incorrect order + %P1 = getelementptr inbounds double, double* %ptr, i64 0 %A0 = fadd double %V0, 1.2 %A1 = fadd double %V1, 3.4 store double %A0, double* %P0, align 4 @@ -45,11 +45,11 @@ entry: ;CHECK: ret void define void @fextr2(double* %ptr) { entry: - %LD = load <4 x double>* undef + %LD = load <4 x double>, <4 x double>* undef %V0 = extractelement <4 x double> %LD, i32 0 ; <--- invalid size. %V1 = extractelement <4 x double> %LD, i32 1 - %P0 = getelementptr inbounds double* %ptr, i64 0 - %P1 = getelementptr inbounds double* %ptr, i64 1 + %P0 = getelementptr inbounds double, double* %ptr, i64 0 + %P1 = getelementptr inbounds double, double* %ptr, i64 1 %A0 = fadd double %V0, 5.5 %A1 = fadd double %V1, 6.6 store double %A0, double* %P0, align 4 |