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/diamond.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/diamond.ll')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/diamond.ll | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/test/Transforms/SLPVectorizer/X86/diamond.ll b/test/Transforms/SLPVectorizer/X86/diamond.ll index 5135a92..4e2c02f 100644 --- a/test/Transforms/SLPVectorizer/X86/diamond.ll +++ b/test/Transforms/SLPVectorizer/X86/diamond.ll @@ -18,24 +18,24 @@ target triple = "x86_64-apple-macosx10.8.0" ; CHECK: ret define i32 @foo(i32* noalias nocapture %B, i32* noalias nocapture %A, i32 %n, i32 %m) #0 { entry: - %0 = load i32* %A, align 4 + %0 = load i32, i32* %A, align 4 %mul238 = add i32 %m, %n %add = mul i32 %0, %mul238 store i32 %add, i32* %B, align 4 - %arrayidx4 = getelementptr inbounds i32* %A, i64 1 - %1 = load i32* %arrayidx4, align 4 + %arrayidx4 = getelementptr inbounds i32, i32* %A, i64 1 + %1 = load i32, i32* %arrayidx4, align 4 %add8 = mul i32 %1, %mul238 - %arrayidx9 = getelementptr inbounds i32* %B, i64 1 + %arrayidx9 = getelementptr inbounds i32, i32* %B, i64 1 store i32 %add8, i32* %arrayidx9, align 4 - %arrayidx10 = getelementptr inbounds i32* %A, i64 2 - %2 = load i32* %arrayidx10, align 4 + %arrayidx10 = getelementptr inbounds i32, i32* %A, i64 2 + %2 = load i32, i32* %arrayidx10, align 4 %add14 = mul i32 %2, %mul238 - %arrayidx15 = getelementptr inbounds i32* %B, i64 2 + %arrayidx15 = getelementptr inbounds i32, i32* %B, i64 2 store i32 %add14, i32* %arrayidx15, align 4 - %arrayidx16 = getelementptr inbounds i32* %A, i64 3 - %3 = load i32* %arrayidx16, align 4 + %arrayidx16 = getelementptr inbounds i32, i32* %A, i64 3 + %3 = load i32, i32* %arrayidx16, align 4 %add20 = mul i32 %3, %mul238 - %arrayidx21 = getelementptr inbounds i32* %B, i64 3 + %arrayidx21 = getelementptr inbounds i32, i32* %B, i64 3 store i32 %add20, i32* %arrayidx21, align 4 ret i32 0 } @@ -56,24 +56,24 @@ entry: ; CHECK-NEXT: ret define i32 @extr_user(i32* noalias nocapture %B, i32* noalias nocapture %A, i32 %n, i32 %m) { entry: - %0 = load i32* %A, align 4 + %0 = load i32, i32* %A, align 4 %mul238 = add i32 %m, %n %add = mul i32 %0, %mul238 store i32 %add, i32* %B, align 4 - %arrayidx4 = getelementptr inbounds i32* %A, i64 1 - %1 = load i32* %arrayidx4, align 4 + %arrayidx4 = getelementptr inbounds i32, i32* %A, i64 1 + %1 = load i32, i32* %arrayidx4, align 4 %add8 = mul i32 %1, %mul238 - %arrayidx9 = getelementptr inbounds i32* %B, i64 1 + %arrayidx9 = getelementptr inbounds i32, i32* %B, i64 1 store i32 %add8, i32* %arrayidx9, align 4 - %arrayidx10 = getelementptr inbounds i32* %A, i64 2 - %2 = load i32* %arrayidx10, align 4 + %arrayidx10 = getelementptr inbounds i32, i32* %A, i64 2 + %2 = load i32, i32* %arrayidx10, align 4 %add14 = mul i32 %2, %mul238 - %arrayidx15 = getelementptr inbounds i32* %B, i64 2 + %arrayidx15 = getelementptr inbounds i32, i32* %B, i64 2 store i32 %add14, i32* %arrayidx15, align 4 - %arrayidx16 = getelementptr inbounds i32* %A, i64 3 - %3 = load i32* %arrayidx16, align 4 + %arrayidx16 = getelementptr inbounds i32, i32* %A, i64 3 + %3 = load i32, i32* %arrayidx16, align 4 %add20 = mul i32 %3, %mul238 - %arrayidx21 = getelementptr inbounds i32* %B, i64 3 + %arrayidx21 = getelementptr inbounds i32, i32* %B, i64 3 store i32 %add20, i32* %arrayidx21, align 4 ret i32 %0 ;<--------- This value has multiple users } @@ -86,24 +86,24 @@ entry: ; CHECK-NEXT: ret define i32 @extr_user1(i32* noalias nocapture %B, i32* noalias nocapture %A, i32 %n, i32 %m) { entry: - %0 = load i32* %A, align 4 + %0 = load i32, i32* %A, align 4 %mul238 = add i32 %m, %n %add = mul i32 %0, %mul238 store i32 %add, i32* %B, align 4 - %arrayidx4 = getelementptr inbounds i32* %A, i64 1 - %1 = load i32* %arrayidx4, align 4 + %arrayidx4 = getelementptr inbounds i32, i32* %A, i64 1 + %1 = load i32, i32* %arrayidx4, align 4 %add8 = mul i32 %1, %mul238 - %arrayidx9 = getelementptr inbounds i32* %B, i64 1 + %arrayidx9 = getelementptr inbounds i32, i32* %B, i64 1 store i32 %add8, i32* %arrayidx9, align 4 - %arrayidx10 = getelementptr inbounds i32* %A, i64 2 - %2 = load i32* %arrayidx10, align 4 + %arrayidx10 = getelementptr inbounds i32, i32* %A, i64 2 + %2 = load i32, i32* %arrayidx10, align 4 %add14 = mul i32 %2, %mul238 - %arrayidx15 = getelementptr inbounds i32* %B, i64 2 + %arrayidx15 = getelementptr inbounds i32, i32* %B, i64 2 store i32 %add14, i32* %arrayidx15, align 4 - %arrayidx16 = getelementptr inbounds i32* %A, i64 3 - %3 = load i32* %arrayidx16, align 4 + %arrayidx16 = getelementptr inbounds i32, i32* %A, i64 3 + %3 = load i32, i32* %arrayidx16, align 4 %add20 = mul i32 %3, %mul238 - %arrayidx21 = getelementptr inbounds i32* %B, i64 3 + %arrayidx21 = getelementptr inbounds i32, i32* %B, i64 3 store i32 %add20, i32* %arrayidx21, align 4 ret i32 %1 ;<--------- This value has multiple users } |