1 ; RUN: llc < %s 2 3 declare i8* @llvm.stacksave() 4 5 declare void @llvm.stackrestore(i8*) 6 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] 12 ret i32* %P 13 } 14 15