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/IndVarSimplify/2011-11-01-lftrptr.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/IndVarSimplify/2011-11-01-lftrptr.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll b/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll index 8247886..a0b1e84 100644 --- a/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll +++ b/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll @@ -25,8 +25,8 @@ preheader: loop: %p.01.us.us = phi i8* [ null, %preheader ], [ %gep, %loop ] %s = phi i8 [0, %preheader], [%snext, %loop] - %gep = getelementptr inbounds i8* %p.01.us.us, i64 1 - %snext = load i8* %gep + %gep = getelementptr inbounds i8, i8* %p.01.us.us, i64 1 + %snext = load i8, i8* %gep %cmp = icmp ult i8* %gep, %end br i1 %cmp, label %loop, label %exit @@ -50,8 +50,8 @@ preheader: loop: %p.01.us.us = phi i8* [ %buf, %preheader ], [ %gep, %loop ] %s = phi i8 [0, %preheader], [%snext, %loop] - %gep = getelementptr inbounds i8* %p.01.us.us, i64 1 - %snext = load i8* %gep + %gep = getelementptr inbounds i8, i8* %p.01.us.us, i64 1 + %snext = load i8, i8* %gep %cmp = icmp ult i8* %gep, %end br i1 %cmp, label %loop, label %exit @@ -79,8 +79,8 @@ loop: %p.01.us.us = phi i8* [ null, %preheader ], [ %gep, %loop ] %iv = phi i32 [ 0, %preheader ], [ %ivnext, %loop ] %s = phi i8 [0, %preheader], [%snext, %loop] - %gep = getelementptr inbounds i8* %p.01.us.us, i64 1 - %snext = load i8* %gep + %gep = getelementptr inbounds i8, i8* %p.01.us.us, i64 1 + %snext = load i8, i8* %gep %ivnext = add i32 %iv, 1 %cmp = icmp ult i32 %ivnext, %cnt br i1 %cmp, label %loop, label %exit @@ -109,8 +109,8 @@ loop: %p.01.us.us = phi i8* [ %buf, %preheader ], [ %gep, %loop ] %iv = phi i32 [ %bi, %preheader ], [ %ivnext, %loop ] %s = phi i8 [0, %preheader], [%snext, %loop] - %gep = getelementptr inbounds i8* %p.01.us.us, i64 1 - %snext = load i8* %gep + %gep = getelementptr inbounds i8, i8* %p.01.us.us, i64 1 + %snext = load i8, i8* %gep %ivnext = add i32 %iv, 1 %cmp = icmp ult i32 %ivnext, %cnt br i1 %cmp, label %loop, label %exit @@ -122,7 +122,7 @@ exit: ; IV and BECount have two different pointer types here. define void @testnullptr([512 x i8]* %base) nounwind { entry: - %add.ptr1603 = getelementptr [512 x i8]* %base, i64 0, i64 512 + %add.ptr1603 = getelementptr [512 x i8], [512 x i8]* %base, i64 0, i64 512 br label %preheader preheader: @@ -131,7 +131,7 @@ preheader: for.body: %r.17193 = phi i8* [ %incdec.ptr1608, %for.body ], [ null, %preheader ] - %incdec.ptr1608 = getelementptr i8* %r.17193, i64 1 + %incdec.ptr1608 = getelementptr i8, i8* %r.17193, i64 1 %cmp1604 = icmp ult i8* %incdec.ptr1608, %add.ptr1603 br i1 %cmp1604, label %for.body, label %for.end1609 |