diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/SystemZ/int-sub-04.ll | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) | |
download | src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.tar.gz src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.zip |
Vendor import of llvm trunk r238337:vendor/llvm/llvm-trunk-r238337
Notes
Notes:
svn path=/vendor/llvm/dist/; revision=283625
svn path=/vendor/llvm/llvm-trunk-r238337/; revision=283626; tag=vendor/llvm/llvm-trunk-r238337
Diffstat (limited to 'test/CodeGen/SystemZ/int-sub-04.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-sub-04.ll | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/test/CodeGen/SystemZ/int-sub-04.ll b/test/CodeGen/SystemZ/int-sub-04.ll index 85104536c5d7..ec2944d12709 100644 --- a/test/CodeGen/SystemZ/int-sub-04.ll +++ b/test/CodeGen/SystemZ/int-sub-04.ll @@ -19,7 +19,7 @@ define i64 @f2(i64 %a, i64 *%src) { ; CHECK-LABEL: f2: ; CHECK: sg %r2, 0(%r3) ; CHECK: br %r14 - %b = load i64 *%src + %b = load i64 , i64 *%src %sub = sub i64 %a, %b ret i64 %sub } @@ -29,8 +29,8 @@ define i64 @f3(i64 %a, i64 *%src) { ; CHECK-LABEL: f3: ; CHECK: sg %r2, 524280(%r3) ; 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 %sub = sub i64 %a, %b ret i64 %sub } @@ -42,8 +42,8 @@ define i64 @f4(i64 %a, i64 *%src) { ; CHECK: agfi %r3, 524288 ; CHECK: sg %r2, 0(%r3) ; 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 %sub = sub i64 %a, %b ret i64 %sub } @@ -53,8 +53,8 @@ define i64 @f5(i64 %a, i64 *%src) { ; CHECK-LABEL: f5: ; CHECK: sg %r2, -8(%r3) ; 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 %sub = sub i64 %a, %b ret i64 %sub } @@ -64,8 +64,8 @@ define i64 @f6(i64 %a, i64 *%src) { ; CHECK-LABEL: f6: ; CHECK: sg %r2, -524288(%r3) ; 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 %sub = sub i64 %a, %b ret i64 %sub } @@ -77,8 +77,8 @@ define i64 @f7(i64 %a, i64 *%src) { ; CHECK: agfi %r3, -524296 ; CHECK: sg %r2, 0(%r3) ; 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 %sub = sub i64 %a, %b ret i64 %sub } @@ -91,7 +91,7 @@ define i64 @f8(i64 %a, i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 524280 %ptr = inttoptr i64 %add2 to i64 * - %b = load i64 *%ptr + %b = load i64 , i64 *%ptr %sub = sub i64 %a, %b ret i64 %sub } @@ -102,26 +102,26 @@ define i64 @f9(i64 *%ptr0) { ; CHECK: brasl %r14, foo@PLT ; CHECK: sg %r2, 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 + %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 - %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 + %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 %ret = call i64 @foo() |