1 ; RUN: llvm-as < %s | llc
3 declare i8* @llvm.stacksave()
5 declare void @llvm.stackrestore(i8*)
7 define i32* @test(i32 %N) {
8 %tmp = call i8* @llvm.stacksave( ) ; <i8*> [#uses=1]
9 %P = alloca i32, i32 %N ; <i32*> [#uses=1]
10 call void @llvm.stackrestore( i8* %tmp )
11 %Q = alloca i32, i32 %N ; <i32*> [#uses=0]