Home | History | Annotate | Download | only in LowerSetJmp
      1 ; RUN: opt < %s -lowersetjmp -disable-output
      2 
      3 	%struct.jmpenv = type { i32, i8 }
      4 
      5 declare void @Perl_sv_setpv()
      6 
      7 declare i32 @llvm.setjmp(i32*)
      8 
      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
     14 	ret void
     15 }
     16 
     17