mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
398 B
LLVM
17 lines
398 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -lowersetjmp -disable-output
|
|
%struct.jmpenv = type { int, sbyte }
|
|
|
|
implementation
|
|
|
|
declare void %Perl_sv_setpv()
|
|
declare int %llvm.setjmp(int *)
|
|
|
|
void %perl_call_sv() {
|
|
call void %Perl_sv_setpv( )
|
|
%tmp.335 = getelementptr %struct.jmpenv* null, long 0, uint 0
|
|
%tmp.336 = call int %llvm.setjmp( int* null )
|
|
store int %tmp.336, int* %tmp.335
|
|
ret void
|
|
}
|
|
|