diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-08 08:55:49 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-09 15:04:38 -0700 |
commit | 4c5e43da7792f75567b693105cc53e3f1992ad98 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/XCore/offset_folding.ll | |
parent | c75239e6119d0f9a74c57099d91cbc9bde56bf33 (diff) | |
download | external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.zip external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.tar.gz external_llvm-4c5e43da7792f75567b693105cc53e3f1992ad98.tar.bz2 |
Update aosp/master llvm for rebase to r233350
Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
Diffstat (limited to 'test/CodeGen/XCore/offset_folding.ll')
-rw-r--r-- | test/CodeGen/XCore/offset_folding.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/XCore/offset_folding.ll b/test/CodeGen/XCore/offset_folding.ll index 8085a0f..ab29ad5 100644 --- a/test/CodeGen/XCore/offset_folding.ll +++ b/test/CodeGen/XCore/offset_folding.ll @@ -8,7 +8,7 @@ entry: ; CHECK-LABEL: f1: ; CHECK: ldaw r11, cp[a+4] ; CHECK: mov r0, r11 - %0 = getelementptr [0 x i32]* @a, i32 0, i32 1 + %0 = getelementptr [0 x i32], [0 x i32]* @a, i32 0, i32 1 ret i32* %0 } @@ -16,7 +16,7 @@ define i32 *@f2() nounwind { entry: ; CHECK-LABEL: f2: ; CHECK: ldaw r0, dp[b+4] - %0 = getelementptr [0 x i32]* @b, i32 0, i32 1 + %0 = getelementptr [0 x i32], [0 x i32]* @b, i32 0, i32 1 ret i32* %0 } @@ -28,7 +28,7 @@ entry: ; CHECK-LABEL: f3: ; CHECK: ldaw r11, cp[a] ; CHECK: sub r0, r11, 4 - %0 = getelementptr [0 x i32]* @a, i32 0, i32 -1 + %0 = getelementptr [0 x i32], [0 x i32]* @a, i32 0, i32 -1 ret i32* %0 } @@ -37,6 +37,6 @@ entry: ; CHECK-LABEL: f4: ; CHECK: ldaw [[REG:r[0-9]+]], dp[b] ; CHECK: sub r0, [[REG]], 4 - %0 = getelementptr [0 x i32]* @b, i32 0, i32 -1 + %0 = getelementptr [0 x i32], [0 x i32]* @b, i32 0, i32 -1 ret i32* %0 } |