diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/ARM/warn-stack.ll | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) |
Diffstat (limited to 'test/CodeGen/ARM/warn-stack.ll')
-rw-r--r-- | test/CodeGen/ARM/warn-stack.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/warn-stack.ll b/test/CodeGen/ARM/warn-stack.ll index 90a3e1f798ed9..474dc1dfb4476 100644 --- a/test/CodeGen/ARM/warn-stack.ll +++ b/test/CodeGen/ARM/warn-stack.ll @@ -7,7 +7,7 @@ define void @nowarn() nounwind ssp { entry: %buffer = alloca [12 x i8], align 1 - %arraydecay = getelementptr inbounds [12 x i8]* %buffer, i64 0, i64 0 + %arraydecay = getelementptr inbounds [12 x i8], [12 x i8]* %buffer, i64 0, i64 0 call void @doit(i8* %arraydecay) nounwind ret void } @@ -16,7 +16,7 @@ entry: define void @warn() nounwind ssp { entry: %buffer = alloca [80 x i8], align 1 - %arraydecay = getelementptr inbounds [80 x i8]* %buffer, i64 0, i64 0 + %arraydecay = getelementptr inbounds [80 x i8], [80 x i8]* %buffer, i64 0, i64 0 call void @doit(i8* %arraydecay) nounwind ret void } |