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/or-01.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/or-01.ll')
-rw-r--r-- | test/CodeGen/SystemZ/or-01.ll | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/test/CodeGen/SystemZ/or-01.ll b/test/CodeGen/SystemZ/or-01.ll index 23946d3..ce556ef 100644 --- a/test/CodeGen/SystemZ/or-01.ll +++ b/test/CodeGen/SystemZ/or-01.ll @@ -19,7 +19,7 @@ define i32 @f2(i32 %a, i32 *%src) { ; CHECK-LABEL: f2: ; CHECK: o %r2, 0(%r3) ; CHECK: br %r14 - %b = load i32 *%src + %b = load i32 , i32 *%src %or = or i32 %a, %b ret i32 %or } @@ -29,8 +29,8 @@ define i32 @f3(i32 %a, i32 *%src) { ; CHECK-LABEL: f3: ; CHECK: o %r2, 4092(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 1023 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 1023 + %b = load i32 , i32 *%ptr %or = or i32 %a, %b ret i32 %or } @@ -40,8 +40,8 @@ define i32 @f4(i32 %a, i32 *%src) { ; CHECK-LABEL: f4: ; CHECK: oy %r2, 4096(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%src, i64 1024 - %b = load i32 *%ptr + %ptr = getelementptr i32, i32 *%src, i64 1024 + %b = load i32 , i32 *%ptr %or = or i32 %a, %b ret i32 %or } @@ -51,8 +51,8 @@ define i32 @f5(i32 %a, i32 *%src) { ; CHECK-LABEL: f5: ; CHECK: oy %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 %or = or i32 %a, %b ret i32 %or } @@ -64,8 +64,8 @@ define i32 @f6(i32 %a, i32 *%src) { ; CHECK: agfi %r3, 524288 ; CHECK: o %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 %or = or i32 %a, %b ret i32 %or } @@ -75,8 +75,8 @@ define i32 @f7(i32 %a, i32 *%src) { ; CHECK-LABEL: f7: ; CHECK: oy %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 %or = or i32 %a, %b ret i32 %or } @@ -86,8 +86,8 @@ define i32 @f8(i32 %a, i32 *%src) { ; CHECK-LABEL: f8: ; CHECK: oy %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 %or = or i32 %a, %b ret i32 %or } @@ -99,8 +99,8 @@ define i32 @f9(i32 %a, i32 *%src) { ; CHECK: agfi %r3, -524292 ; CHECK: o %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 %or = or i32 %a, %b ret i32 %or } @@ -113,7 +113,7 @@ define i32 @f10(i32 %a, i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 4092 %ptr = inttoptr i64 %add2 to i32 * - %b = load i32 *%ptr + %b = load i32 , i32 *%ptr %or = or i32 %a, %b ret i32 %or } @@ -126,7 +126,7 @@ define i32 @f11(i32 %a, i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 4096 %ptr = inttoptr i64 %add2 to i32 * - %b = load i32 *%ptr + %b = load i32 , i32 *%ptr %or = or i32 %a, %b ret i32 %or } @@ -137,26 +137,26 @@ define i32 @f12(i32 *%ptr0) { ; CHECK: brasl %r14, foo@PLT ; CHECK: o %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 %ret = call i32 @foo() |