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/LoopVectorize/value-ptr-bug.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/LoopVectorize/value-ptr-bug.ll')
-rw-r--r-- | test/Transforms/LoopVectorize/value-ptr-bug.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/LoopVectorize/value-ptr-bug.ll b/test/Transforms/LoopVectorize/value-ptr-bug.ll index 7fb9095..ce4601f 100644 --- a/test/Transforms/LoopVectorize/value-ptr-bug.ll +++ b/test/Transforms/LoopVectorize/value-ptr-bug.ll @@ -19,8 +19,8 @@ entry: loop: %inc = phi i32 [ %sub267, %entry ], [ %add, %loop] %ext.inc = sext i32 %inc to i64 - %add.ptr265 = getelementptr inbounds i32* %ptr265, i64 %ext.inc - %add.ptr266 = getelementptr inbounds i32* %ptr266, i64 %ext.inc + %add.ptr265 = getelementptr inbounds i32, i32* %ptr265, i64 %ext.inc + %add.ptr266 = getelementptr inbounds i32, i32* %ptr266, i64 %ext.inc %add = add i32 %inc, 9 %cmp = icmp slt i32 %add, 140 br i1 %cmp, label %block1, label %loop @@ -37,9 +37,9 @@ do.body272: %row_width.5 = phi i32 [ %sub267.lcssa, %block1 ], [ %dec, %do.body272 ] %sp.4 = phi i8* [ %tmp30, %block1 ], [ %incdec.ptr273, %do.body272 ] %dp.addr.4 = phi i8* [ %tmp29, %block1 ], [ %incdec.ptr274, %do.body272 ] - %incdec.ptr273 = getelementptr inbounds i8* %sp.4, i64 1 - %tmp31 = load i8* %sp.4, align 1 - %incdec.ptr274 = getelementptr inbounds i8* %dp.addr.4, i64 1 + %incdec.ptr273 = getelementptr inbounds i8, i8* %sp.4, i64 1 + %tmp31 = load i8, i8* %sp.4, align 1 + %incdec.ptr274 = getelementptr inbounds i8, i8* %dp.addr.4, i64 1 store i8 %tmp31, i8* %dp.addr.4, align 1 %dec = add i32 %row_width.5, -1 %cmp276 = icmp eq i32 %dec, 0 |