diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-conv-02.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-conv-02.ll | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/CodeGen/SystemZ/int-conv-02.ll b/test/CodeGen/SystemZ/int-conv-02.ll index dd7760d..5b248cc 100644 --- a/test/CodeGen/SystemZ/int-conv-02.ll +++ b/test/CodeGen/SystemZ/int-conv-02.ll @@ -37,7 +37,7 @@ define i32 @f4(i8 *%src) { ; CHECK-LABEL: f4: ; CHECK: llc %r2, 0(%r2) ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %ext = zext i8 %byte to i32 ret i32 %ext } @@ -47,8 +47,8 @@ define i32 @f5(i8 *%src) { ; CHECK-LABEL: f5: ; CHECK: llc %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 i32 ret i32 %ext } @@ -60,8 +60,8 @@ define i32 @f6(i8 *%src) { ; CHECK: agfi %r2, 524288 ; CHECK: llc %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 i32 ret i32 %ext } @@ -71,8 +71,8 @@ define i32 @f7(i8 *%src) { ; CHECK-LABEL: f7: ; CHECK: llc %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 i32 ret i32 %ext } @@ -82,8 +82,8 @@ define i32 @f8(i8 *%src) { ; CHECK-LABEL: f8: ; CHECK: llc %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 i32 ret i32 %ext } @@ -95,8 +95,8 @@ define i32 @f9(i8 *%src) { ; CHECK: agfi %r2, -524289 ; CHECK: llc %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 i32 ret i32 %ext } @@ -109,7 +109,7 @@ define i32 @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 i32 ret i32 %ext } @@ -120,22 +120,22 @@ define void @f11(i32 *%ptr) { ; CHECK-LABEL: f11: ; CHECK: llc {{%r[0-9]+}}, 16{{[37]}}(%r15) ; CHECK: br %r14 - %val0 = load volatile i32 *%ptr - %val1 = load volatile i32 *%ptr - %val2 = load volatile i32 *%ptr - %val3 = load volatile i32 *%ptr - %val4 = load volatile i32 *%ptr - %val5 = load volatile i32 *%ptr - %val6 = load volatile i32 *%ptr - %val7 = load volatile i32 *%ptr - %val8 = load volatile i32 *%ptr - %val9 = load volatile i32 *%ptr - %val10 = load volatile i32 *%ptr - %val11 = load volatile i32 *%ptr - %val12 = load volatile i32 *%ptr - %val13 = load volatile i32 *%ptr - %val14 = load volatile i32 *%ptr - %val15 = load volatile i32 *%ptr + %val0 = load volatile i32 , i32 *%ptr + %val1 = load volatile i32 , i32 *%ptr + %val2 = load volatile i32 , i32 *%ptr + %val3 = load volatile i32 , i32 *%ptr + %val4 = load volatile i32 , i32 *%ptr + %val5 = load volatile i32 , i32 *%ptr + %val6 = load volatile i32 , i32 *%ptr + %val7 = load volatile i32 , i32 *%ptr + %val8 = load volatile i32 , i32 *%ptr + %val9 = load volatile i32 , i32 *%ptr + %val10 = load volatile i32 , i32 *%ptr + %val11 = load volatile i32 , i32 *%ptr + %val12 = load volatile i32 , i32 *%ptr + %val13 = load volatile i32 , i32 *%ptr + %val14 = load volatile i32 , i32 *%ptr + %val15 = load volatile i32 , i32 *%ptr %trunc0 = trunc i32 %val0 to i8 %trunc1 = trunc i32 %val1 to i8 |