blob: 4eb21336287639edd2be3a12782ffda348051b2f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -lowersetjmp -disable-output
2 %struct.jmpenv = type { int, sbyte }
3
4implementation
5
6declare void %Perl_sv_setpv()
7declare int %llvm.setjmp(int *)
8
9void %perl_call_sv() {
10 call void %Perl_sv_setpv( )
11 %tmp.335 = getelementptr %struct.jmpenv* null, long 0, uint 0
12 %tmp.336 = call int %llvm.setjmp( int* null )
13 store int %tmp.336, int* %tmp.335
14 ret void
15}
16