diff options
Diffstat (limited to 'test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll')
-rw-r--r-- | test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll b/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll index 7015725..1c5a981 100644 --- a/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll +++ b/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll @@ -16,8 +16,8 @@ target triple = "x86_64-apple-macosx10.8.0" define void @f() { %1 = alloca [0 x i8], align 1 %2 = alloca [0 x i8], align 1024 - %3 = getelementptr inbounds [0 x i8]* %1, i64 0, i64 0 - %4 = getelementptr inbounds [0 x i8]* %2, i64 0, i64 0 + %3 = getelementptr inbounds [0 x i8], [0 x i8]* %1, i64 0, i64 0 + %4 = getelementptr inbounds [0 x i8], [0 x i8]* %2, i64 0, i64 0 store i8* %3, i8** @x, align 8 store i8* %4, i8** @y, align 8 ret void |