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/SystemZ/int-cmp-01.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/SystemZ/int-cmp-01.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-01.ll | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-01.ll b/test/CodeGen/SystemZ/int-cmp-01.ll index 6653b6f..97b697d 100644 --- a/test/CodeGen/SystemZ/int-cmp-01.ll +++ b/test/CodeGen/SystemZ/int-cmp-01.ll @@ -8,7 +8,7 @@ define void @f1(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f1: ; CHECK: ch %r2, 0(%r3) ; CHECK: br %r14 - %half = load i16 *%src + %half = load i16 , i16 *%src %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -21,8 +21,8 @@ define void @f2(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f2: ; CHECK: ch %r2, 4094(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 2047 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 2047 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -35,8 +35,8 @@ define void @f3(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f3: ; CHECK: chy %r2, 4096(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 2048 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 2048 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -49,8 +49,8 @@ define void @f4(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f4: ; CHECK: chy %r2, 524286(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 262143 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 262143 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -65,8 +65,8 @@ define void @f5(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK: agfi %r3, 524288 ; CHECK: ch %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 262144 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 262144 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -79,8 +79,8 @@ define void @f6(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f6: ; CHECK: chy %r2, -2(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 -1 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 -1 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -93,8 +93,8 @@ define void @f7(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK-LABEL: f7: ; CHECK: chy %r2, -524288(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 -262144 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 -262144 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -109,8 +109,8 @@ define void @f8(i32 %lhs, i16 *%src, i32 *%dst) { ; CHECK: agfi %r3, -524290 ; CHECK: ch %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i16 *%src, i64 -262145 - %half = load i16 *%ptr + %ptr = getelementptr i16, i16 *%src, i64 -262145 + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -126,7 +126,7 @@ define void @f9(i32 %lhs, i64 %base, i64 %index, i32 *%dst) { %add1 = add i64 %base, %index %add2 = add i64 %add1, 4094 %ptr = inttoptr i64 %add2 to i16 * - %half = load i16 *%ptr + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -142,7 +142,7 @@ define void @f10(i32 %lhs, i64 %base, i64 %index, i32 *%dst) { %add1 = add i64 %base, %index %add2 = add i64 %add1, 4096 %ptr = inttoptr i64 %add2 to i16 * - %half = load i16 *%ptr + %half = load i16 , i16 *%ptr %rhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, i32 100, i32 200 @@ -157,7 +157,7 @@ define double @f11(double %a, double %b, i32 %rhs, i16 *%src) { ; CHECK-NEXT: jh {{\.L.*}} ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %half = load i16 *%src + %half = load i16 , i16 *%src %lhs = sext i16 %half to i32 %cond = icmp slt i32 %lhs, %rhs %res = select i1 %cond, double %a, double %b |