diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-sub-05.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-sub-05.ll | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/test/CodeGen/SystemZ/int-sub-05.ll b/test/CodeGen/SystemZ/int-sub-05.ll index 85ea14c..9775298 100644 --- a/test/CodeGen/SystemZ/int-sub-05.ll +++ b/test/CodeGen/SystemZ/int-sub-05.ll @@ -11,7 +11,7 @@ define void @f1(i128 *%ptr, i64 %high, i64 %low) { ; CHECK: slgr {{%r[0-5]}}, %r4 ; CHECK: slbgr {{%r[0-5]}}, %r3 ; CHECK: br %r14 - %a = load i128 *%ptr + %a = load i128 , i128 *%ptr %highx = zext i64 %high to i128 %lowx = zext i64 %low to i128 %bhigh = shl i128 %highx, 64 @@ -28,9 +28,9 @@ define void @f2(i64 %addr) { ; CHECK: slbg {{%r[0-5]}}, 0(%r2) ; CHECK: br %r14 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -44,9 +44,9 @@ define void @f3(i64 %base) { ; CHECK: br %r14 %addr = add i64 %base, 524272 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -62,9 +62,9 @@ define void @f4(i64 %base) { ; CHECK: br %r14 %addr = add i64 %base, 524280 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -80,9 +80,9 @@ define void @f5(i64 %base) { ; CHECK: br %r14 %addr = add i64 %base, 524288 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -96,9 +96,9 @@ define void @f6(i64 %base) { ; CHECK: br %r14 %addr = add i64 %base, -524288 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -112,9 +112,9 @@ define void @f7(i64 %base) { ; CHECK: br %r14 %addr = add i64 %base, -524296 %bptr = inttoptr i64 %addr to i128 * - %aptr = getelementptr i128 *%bptr, i64 -8 - %a = load i128 *%aptr - %b = load i128 *%bptr + %aptr = getelementptr i128, i128 *%bptr, i64 -8 + %a = load i128 , i128 *%aptr + %b = load i128 , i128 *%bptr %sub = sub i128 %a, %b store i128 %sub, i128 *%aptr ret void @@ -128,20 +128,20 @@ define void @f8(i128 *%ptr0) { ; CHECK: slg {{%r[0-9]+}}, {{[0-9]+}}(%r15) ; CHECK: slbg {{%r[0-9]+}}, {{[0-9]+}}(%r15) ; CHECK: br %r14 - %ptr1 = getelementptr i128 *%ptr0, i128 2 - %ptr2 = getelementptr i128 *%ptr0, i128 4 - %ptr3 = getelementptr i128 *%ptr0, i128 6 - %ptr4 = getelementptr i128 *%ptr0, i128 8 + %ptr1 = getelementptr i128, i128 *%ptr0, i128 2 + %ptr2 = getelementptr i128, i128 *%ptr0, i128 4 + %ptr3 = getelementptr i128, i128 *%ptr0, i128 6 + %ptr4 = getelementptr i128, i128 *%ptr0, i128 8 - %val0 = load i128 *%ptr0 - %val1 = load i128 *%ptr1 - %val2 = load i128 *%ptr2 - %val3 = load i128 *%ptr3 - %val4 = load i128 *%ptr4 + %val0 = load i128 , i128 *%ptr0 + %val1 = load i128 , i128 *%ptr1 + %val2 = load i128 , i128 *%ptr2 + %val3 = load i128 , i128 *%ptr3 + %val4 = load i128 , i128 *%ptr4 %retptr = call i128 *@foo() - %ret = load i128 *%retptr + %ret = load i128 , i128 *%retptr %sub0 = sub i128 %ret, %val0 %sub1 = sub i128 %sub0, %val1 %sub2 = sub i128 %sub1, %val2 |