mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
17 lines
399 B
LLVM
17 lines
399 B
LLVM
; RUN: opt < %s -lowersetjmp -disable-output
|
|
|
|
%struct.jmpenv = type { i32, i8 }
|
|
|
|
declare void @Perl_sv_setpv()
|
|
|
|
declare i32 @llvm.setjmp(i32*)
|
|
|
|
define void @perl_call_sv() {
|
|
call void @Perl_sv_setpv( )
|
|
%tmp.335 = getelementptr %struct.jmpenv* null, i64 0, i32 0 ; <i32*> [#uses=1]
|
|
%tmp.336 = call i32 @llvm.setjmp( i32* null ) ; <i32> [#uses=1]
|
|
store i32 %tmp.336, i32* %tmp.335
|
|
ret void
|
|
}
|
|
|