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/SLPVectorizer/X86/extractcost.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/SLPVectorizer/X86/extractcost.ll')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/extractcost.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/SLPVectorizer/X86/extractcost.ll b/test/Transforms/SLPVectorizer/X86/extractcost.ll index 01baf66..164ddf3 100644 --- a/test/Transforms/SLPVectorizer/X86/extractcost.ll +++ b/test/Transforms/SLPVectorizer/X86/extractcost.ll @@ -13,15 +13,15 @@ entry: store i32 %add, i32* %A, align 4 %mul1 = mul nsw i32 %n, 9 %add2 = add nsw i32 %mul1, 9 - %arrayidx3 = getelementptr inbounds i32* %A, i64 1 + %arrayidx3 = getelementptr inbounds i32, i32* %A, i64 1 store i32 %add2, i32* %arrayidx3, align 4 %mul4 = shl i32 %n, 3 %add5 = add nsw i32 %mul4, 9 - %arrayidx6 = getelementptr inbounds i32* %A, i64 2 + %arrayidx6 = getelementptr inbounds i32, i32* %A, i64 2 store i32 %add5, i32* %arrayidx6, align 4 %mul7 = mul nsw i32 %n, 10 %add8 = add nsw i32 %mul7, 9 - %arrayidx9 = getelementptr inbounds i32* %A, i64 3 + %arrayidx9 = getelementptr inbounds i32, i32* %A, i64 3 store i32 %add8, i32* %arrayidx9, align 4 %externaluse1 = add nsw i32 %add, %m %externaluse2 = mul nsw i32 %add, %m ; we should add the extract cost only once and the store will be vectorized |