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/SystemZ/int-div-05.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/SystemZ/int-div-05.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-div-05.ll | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/test/CodeGen/SystemZ/int-div-05.ll b/test/CodeGen/SystemZ/int-div-05.ll index 8179830..f80a139 100644 --- a/test/CodeGen/SystemZ/int-div-05.ll +++ b/test/CodeGen/SystemZ/int-div-05.ll @@ -57,7 +57,7 @@ define void @f4(i64 %dummy, i64 %a, i64 *%src, i64 *%dest) { ; CHECK: dlg %r2, 0(%r4) ; CHECK: stg %r3, 0(%r5) ; CHECK: br %r14 - %b = load i64 *%src + %b = load i64 , i64 *%src %div = udiv i64 %a, %b store i64 %div, i64 *%dest ret void @@ -72,7 +72,7 @@ define void @f5(i64 %dummy, i64 %a, i64 *%src, i64 *%dest) { ; CHECK: dlg %r2, 0(%r4) ; CHECK: stg %r2, 0(%r5) ; CHECK: br %r14 - %b = load i64 *%src + %b = load i64 , i64 *%src %rem = urem i64 %a, %b store i64 %rem, i64 *%dest ret void @@ -88,7 +88,7 @@ define i64 @f6(i64 %dummy, i64 %a, i64 *%src) { ; CHECK-NOT: {{dlg|dlgr}} ; CHECK: ogr %r2, %r3 ; CHECK: br %r14 - %b = load i64 *%src + %b = load i64 , i64 *%src %div = udiv i64 %a, %b %rem = urem i64 %a, %b %or = or i64 %rem, %div @@ -100,8 +100,8 @@ define i64 @f7(i64 %dummy, i64 %a, i64 *%src) { ; CHECK-LABEL: f7: ; CHECK: dlg %r2, 524280(%r4) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 65535 - %b = load i64 *%ptr + %ptr = getelementptr i64, i64 *%src, i64 65535 + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -113,8 +113,8 @@ define i64 @f8(i64 %dummy, i64 %a, i64 *%src) { ; CHECK: agfi %r4, 524288 ; CHECK: dlg %r2, 0(%r4) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 65536 - %b = load i64 *%ptr + %ptr = getelementptr i64, i64 *%src, i64 65536 + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -124,8 +124,8 @@ define i64 @f9(i64 %dummy, i64 %a, i64 *%src) { ; CHECK-LABEL: f9: ; CHECK: dlg %r2, -8(%r4) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 -1 - %b = load i64 *%ptr + %ptr = getelementptr i64, i64 *%src, i64 -1 + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -135,8 +135,8 @@ define i64 @f10(i64 %dummy, i64 %a, i64 *%src) { ; CHECK-LABEL: f10: ; CHECK: dlg %r2, -524288(%r4) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 -65536 - %b = load i64 *%ptr + %ptr = getelementptr i64, i64 *%src, i64 -65536 + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -148,8 +148,8 @@ define i64 @f11(i64 %dummy, i64 %a, i64 *%src) { ; CHECK: agfi %r4, -524296 ; CHECK: dlg %r2, 0(%r4) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 -65537 - %b = load i64 *%ptr + %ptr = getelementptr i64, i64 *%src, i64 -65537 + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -162,7 +162,7 @@ define i64 @f12(i64 %dummy, i64 %a, i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 524287 %ptr = inttoptr i64 %add2 to i64 * - %b = load i64 *%ptr + %b = load i64 , i64 *%ptr %rem = urem i64 %a, %b ret i64 %rem } @@ -173,28 +173,28 @@ define i64 @f13(i64 *%ptr0) { ; CHECK: brasl %r14, foo@PLT ; CHECK: dlg {{%r[0-9]+}}, 160(%r15) ; CHECK: br %r14 - %ptr1 = getelementptr i64 *%ptr0, i64 2 - %ptr2 = getelementptr i64 *%ptr0, i64 4 - %ptr3 = getelementptr i64 *%ptr0, i64 6 - %ptr4 = getelementptr i64 *%ptr0, i64 8 - %ptr5 = getelementptr i64 *%ptr0, i64 10 - %ptr6 = getelementptr i64 *%ptr0, i64 12 - %ptr7 = getelementptr i64 *%ptr0, i64 14 - %ptr8 = getelementptr i64 *%ptr0, i64 16 - %ptr9 = getelementptr i64 *%ptr0, i64 18 - %ptr10 = getelementptr i64 *%ptr0, i64 20 - - %val0 = load i64 *%ptr0 - %val1 = load i64 *%ptr1 - %val2 = load i64 *%ptr2 - %val3 = load i64 *%ptr3 - %val4 = load i64 *%ptr4 - %val5 = load i64 *%ptr5 - %val6 = load i64 *%ptr6 - %val7 = load i64 *%ptr7 - %val8 = load i64 *%ptr8 - %val9 = load i64 *%ptr9 - %val10 = load i64 *%ptr10 + %ptr1 = getelementptr i64, i64 *%ptr0, i64 2 + %ptr2 = getelementptr i64, i64 *%ptr0, i64 4 + %ptr3 = getelementptr i64, i64 *%ptr0, i64 6 + %ptr4 = getelementptr i64, i64 *%ptr0, i64 8 + %ptr5 = getelementptr i64, i64 *%ptr0, i64 10 + %ptr6 = getelementptr i64, i64 *%ptr0, i64 12 + %ptr7 = getelementptr i64, i64 *%ptr0, i64 14 + %ptr8 = getelementptr i64, i64 *%ptr0, i64 16 + %ptr9 = getelementptr i64, i64 *%ptr0, i64 18 + %ptr10 = getelementptr i64, i64 *%ptr0, i64 20 + + %val0 = load i64 , i64 *%ptr0 + %val1 = load i64 , i64 *%ptr1 + %val2 = load i64 , i64 *%ptr2 + %val3 = load i64 , i64 *%ptr3 + %val4 = load i64 , i64 *%ptr4 + %val5 = load i64 , i64 *%ptr5 + %val6 = load i64 , i64 *%ptr6 + %val7 = load i64 , i64 *%ptr7 + %val8 = load i64 , i64 *%ptr8 + %val9 = load i64 , i64 *%ptr9 + %val10 = load i64 , i64 *%ptr10 %ret = call i64 @foo() |