diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-conv-04.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-conv-04.ll | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/CodeGen/SystemZ/int-conv-04.ll b/test/CodeGen/SystemZ/int-conv-04.ll index 1c6be7b..a0f5d63 100644 --- a/test/CodeGen/SystemZ/int-conv-04.ll +++ b/test/CodeGen/SystemZ/int-conv-04.ll @@ -36,7 +36,7 @@ define i64 @f4(i8 *%src) { ; CHECK-LABEL: f4: ; CHECK: llgc %r2, 0(%r2) ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %ext = zext i8 %byte to i64 ret i64 %ext } @@ -46,8 +46,8 @@ define i64 @f5(i8 *%src) { ; CHECK-LABEL: f5: ; CHECK: llgc %r2, 524287(%r2) ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 524287 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 524287 + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -59,8 +59,8 @@ define i64 @f6(i8 *%src) { ; CHECK: agfi %r2, 524288 ; CHECK: llgc %r2, 0(%r2) ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 524288 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 524288 + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -70,8 +70,8 @@ define i64 @f7(i8 *%src) { ; CHECK-LABEL: f7: ; CHECK: llgc %r2, -1(%r2) ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 -1 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 -1 + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -81,8 +81,8 @@ define i64 @f8(i8 *%src) { ; CHECK-LABEL: f8: ; CHECK: llgc %r2, -524288(%r2) ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 -524288 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 -524288 + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -94,8 +94,8 @@ define i64 @f9(i8 *%src) { ; CHECK: agfi %r2, -524289 ; CHECK: llgc %r2, 0(%r2) ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 -524289 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 -524289 + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -108,7 +108,7 @@ define i64 @f10(i64 %src, i64 %index) { %add1 = add i64 %src, %index %add2 = add i64 %add1, 524287 %ptr = inttoptr i64 %add2 to i8 * - %byte = load i8 *%ptr + %byte = load i8 , i8 *%ptr %ext = zext i8 %byte to i64 ret i64 %ext } @@ -119,22 +119,22 @@ define void @f11(i64 *%ptr) { ; CHECK-LABEL: f11: ; CHECK: llgc {{%r[0-9]+}}, 167(%r15) ; CHECK: br %r14 - %val0 = load volatile i64 *%ptr - %val1 = load volatile i64 *%ptr - %val2 = load volatile i64 *%ptr - %val3 = load volatile i64 *%ptr - %val4 = load volatile i64 *%ptr - %val5 = load volatile i64 *%ptr - %val6 = load volatile i64 *%ptr - %val7 = load volatile i64 *%ptr - %val8 = load volatile i64 *%ptr - %val9 = load volatile i64 *%ptr - %val10 = load volatile i64 *%ptr - %val11 = load volatile i64 *%ptr - %val12 = load volatile i64 *%ptr - %val13 = load volatile i64 *%ptr - %val14 = load volatile i64 *%ptr - %val15 = load volatile i64 *%ptr + %val0 = load volatile i64 , i64 *%ptr + %val1 = load volatile i64 , i64 *%ptr + %val2 = load volatile i64 , i64 *%ptr + %val3 = load volatile i64 , i64 *%ptr + %val4 = load volatile i64 , i64 *%ptr + %val5 = load volatile i64 , i64 *%ptr + %val6 = load volatile i64 , i64 *%ptr + %val7 = load volatile i64 , i64 *%ptr + %val8 = load volatile i64 , i64 *%ptr + %val9 = load volatile i64 , i64 *%ptr + %val10 = load volatile i64 , i64 *%ptr + %val11 = load volatile i64 , i64 *%ptr + %val12 = load volatile i64 , i64 *%ptr + %val13 = load volatile i64 , i64 *%ptr + %val14 = load volatile i64 , i64 *%ptr + %val15 = load volatile i64 , i64 *%ptr %trunc0 = trunc i64 %val0 to i8 %trunc1 = trunc i64 %val1 to i8 |