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/CodeGen/X86/avoid-loop-align.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/CodeGen/X86/avoid-loop-align.ll')
-rw-r--r-- | test/CodeGen/X86/avoid-loop-align.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/avoid-loop-align.ll b/test/CodeGen/X86/avoid-loop-align.ll index 7957db7..5d00ed0 100644 --- a/test/CodeGen/X86/avoid-loop-align.ll +++ b/test/CodeGen/X86/avoid-loop-align.ll @@ -21,8 +21,8 @@ bb: ; preds = %bb1, %bb1 bb1: ; preds = %bb, %entry %P.0.rec = phi i32 [ 0, %entry ], [ %indvar.next, %bb ] ; <i32> [#uses=2] - %P.0 = getelementptr i8* %tmp1, i32 %P.0.rec ; <i8*> [#uses=3] - %tmp2 = load i8* %P.0, align 1 ; <i8> [#uses=1] + %P.0 = getelementptr i8, i8* %tmp1, i32 %P.0.rec ; <i8*> [#uses=3] + %tmp2 = load i8, i8* %P.0, align 1 ; <i8> [#uses=1] switch i8 %tmp2, label %bb4 [ i8 12, label %bb i8 42, label %bb @@ -31,7 +31,7 @@ bb1: ; preds = %bb, %entry bb4: ; preds = %bb1 %tmp3 = ptrtoint i8* %P.0 to i32 ; <i32> [#uses=1] %tmp4 = sub i32 %tmp3, %tmp ; <i32> [#uses=1] - %tmp5 = getelementptr [100 x i32]* @A, i32 0, i32 %tmp4 ; <i32*> [#uses=1] + %tmp5 = getelementptr [100 x i32], [100 x i32]* @A, i32 0, i32 %tmp4 ; <i32*> [#uses=1] store i32 4, i32* %tmp5, align 4 ret i8* %P.0 } |