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/CodeGen/SystemZ/int-mul-03.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/CodeGen/SystemZ/int-mul-03.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-mul-03.ll | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/test/CodeGen/SystemZ/int-mul-03.ll b/test/CodeGen/SystemZ/int-mul-03.ll index df18050..c4d16ce 100644 --- a/test/CodeGen/SystemZ/int-mul-03.ll +++ b/test/CodeGen/SystemZ/int-mul-03.ll @@ -19,7 +19,7 @@ define i64 @f2(i64 %a, i32 *%src) { ; CHECK-LABEL: f2: ; CHECK: msgf %r2, 0(%r3) ; CHECK: br %r14 - %b = load i32 *%src + %b = load i32 , i32 *%src %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -30,8 +30,8 @@ define i64 @f3(i64 %a, i32 *%src) { ; CHECK-LABEL: f3: ; CHECK: msgf %r2, 524284(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 131071 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 131071 + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -44,8 +44,8 @@ define i64 @f4(i64 %a, i32 *%src) { ; CHECK: agfi %r3, 524288 ; CHECK: msgf %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 131072 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 131072 + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -56,8 +56,8 @@ define i64 @f5(i64 %a, i32 *%src) { ; CHECK-LABEL: f5: ; CHECK: msgf %r2, -4(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 -1 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 -1 + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -68,8 +68,8 @@ define i64 @f6(i64 %a, i32 *%src) { ; CHECK-LABEL: f6: ; CHECK: msgf %r2, -524288(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 -131072 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 -131072 + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -82,8 +82,8 @@ define i64 @f7(i64 %a, i32 *%src) { ; CHECK: agfi %r3, -524292 ; CHECK: msgf %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 -131073 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 -131073 + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -97,7 +97,7 @@ define i64 @f8(i64 %a, i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 524284 %ptr = inttoptr i64 %add2 to i32 * - %b = load i32 *%ptr + %b = load i32 , i32 *%ptr %bext = sext i32 %b to i64 %mul = mul i64 %a, %bext ret i64 %mul @@ -109,26 +109,26 @@ define i64 @f9(i32 *%ptr0) { ; CHECK: brasl %r14, foo@PLT ; CHECK: msgf %r2, 16{{[04]}}(%r15) ; CHECK: br %r14 - %ptr1 = getelementptr i32 *%ptr0, i64 2 - %ptr2 = getelementptr i32 *%ptr0, i64 4 - %ptr3 = getelementptr i32 *%ptr0, i64 6 - %ptr4 = getelementptr i32 *%ptr0, i64 8 - %ptr5 = getelementptr i32 *%ptr0, i64 10 - %ptr6 = getelementptr i32 *%ptr0, i64 12 - %ptr7 = getelementptr i32 *%ptr0, i64 14 - %ptr8 = getelementptr i32 *%ptr0, i64 16 - %ptr9 = getelementptr i32 *%ptr0, i64 18 - - %val0 = load i32 *%ptr0 - %val1 = load i32 *%ptr1 - %val2 = load i32 *%ptr2 - %val3 = load i32 *%ptr3 - %val4 = load i32 *%ptr4 - %val5 = load i32 *%ptr5 - %val6 = load i32 *%ptr6 - %val7 = load i32 *%ptr7 - %val8 = load i32 *%ptr8 - %val9 = load i32 *%ptr9 + %ptr1 = getelementptr i32, i32 *%ptr0, i64 2 + %ptr2 = getelementptr i32, i32 *%ptr0, i64 4 + %ptr3 = getelementptr i32, i32 *%ptr0, i64 6 + %ptr4 = getelementptr i32, i32 *%ptr0, i64 8 + %ptr5 = getelementptr i32, i32 *%ptr0, i64 10 + %ptr6 = getelementptr i32, i32 *%ptr0, i64 12 + %ptr7 = getelementptr i32, i32 *%ptr0, i64 14 + %ptr8 = getelementptr i32, i32 *%ptr0, i64 16 + %ptr9 = getelementptr i32, i32 *%ptr0, i64 18 + + %val0 = load i32 , i32 *%ptr0 + %val1 = load i32 , i32 *%ptr1 + %val2 = load i32 , i32 *%ptr2 + %val3 = load i32 , i32 *%ptr3 + %val4 = load i32 , i32 *%ptr4 + %val5 = load i32 , i32 *%ptr5 + %val6 = load i32 , i32 *%ptr6 + %val7 = load i32 , i32 *%ptr7 + %val8 = load i32 , i32 *%ptr8 + %val9 = load i32 , i32 *%ptr9 %frob0 = add i32 %val0, 100 %frob1 = add i32 %val1, 100 |