mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6e0631a94
commit
1548c35a5e
@ -0,0 +1,16 @@
|
||||
; RUN: llvm-as < %s | 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, ubyte 0
|
||||
%tmp.336 = call int %llvm.setjmp( int* null )
|
||||
store int %tmp.336, int* %tmp.335
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user