diff options
Diffstat (limited to 'test/CodeGen/SystemZ/alloca-01.ll')
-rw-r--r-- | test/CodeGen/SystemZ/alloca-01.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/SystemZ/alloca-01.ll b/test/CodeGen/SystemZ/alloca-01.ll index 2ddefd7..06c336a 100644 --- a/test/CodeGen/SystemZ/alloca-01.ll +++ b/test/CodeGen/SystemZ/alloca-01.ll @@ -52,13 +52,13 @@ define i64 @f1(i64 %length, i64 %index) { ; CHECK-FP: lgr %r11, %r15 ; CHECK-FP: lmg %r6, %r15, 224(%r11) %a = alloca i8, i64 %length - %b = getelementptr i8 *%a, i64 1 + %b = getelementptr i8, i8 *%a, i64 1 %cindex = add i64 %index, 3919 - %c = getelementptr i8 *%a, i64 %cindex + %c = getelementptr i8, i8 *%a, i64 %cindex %dindex = add i64 %index, 3920 - %d = getelementptr i8 *%a, i64 %dindex + %d = getelementptr i8, i8 *%a, i64 %dindex %eindex = add i64 %index, 4095 - %e = getelementptr i8 *%a, i64 %eindex + %e = getelementptr i8, i8 *%a, i64 %eindex %count = call i64 @bar(i8 *%a, i8 *%b, i8 *%c, i8 *%d, i8 *%e, i64 0, i64 0) %res = add i64 %count, 1 ret i64 %res |