X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FARM%2Fwarn-stack.ll;h=474dc1dfb447699f7bbbe797e6e6a11d66c8d621;hb=18ec07dece5616c90cad4b06619edc0cd080aa6b;hp=9538bbf1048846be885baef1292aed0a05d7d69b;hpb=2e10e8e378f3beb9d9bd55afa4ba6c13977f4e03;p=oota-llvm.git diff --git a/test/CodeGen/ARM/warn-stack.ll b/test/CodeGen/ARM/warn-stack.ll index 9538bbf1048..474dc1dfb44 100644 --- a/test/CodeGen/ARM/warn-stack.ll +++ b/test/CodeGen/ARM/warn-stack.ll @@ -7,16 +7,16 @@ 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 } -; CHECK: warning: Stack size limit exceeded (96) in warn. +; CHECK: warning: stack size limit exceeded (96) in warn 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 }