1 ; RUN: opt < %s -lowersetjmp -disable-output
3 %struct.jmpenv = type { i32, i8 }
5 declare void @Perl_sv_setpv()
7 declare i32 @llvm.setjmp(i32*)
9 define void @perl_call_sv() {
10 call void @Perl_sv_setpv( )
11 %tmp.335 = getelementptr %struct.jmpenv* null, i64 0, i32 0 ; <i32*> [#uses=1]
12 %tmp.336 = call i32 @llvm.setjmp( i32* null ) ; <i32> [#uses=1]
13 store i32 %tmp.336, i32* %tmp.335