mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
16 lines
481 B
LLVM
16 lines
481 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=powerpc64-apple-darwin
|
||
|
|
||
|
declare void @cxa_atexit_check_1(i8*)
|
||
|
|
||
|
define i32 @check_cxa_atexit(i32 (void (i8*)*, i8*, i8*)* %cxa_atexit, void (i8*)* %cxa_finalize) {
|
||
|
entry:
|
||
|
%tmp7 = call i32 null( void (i8*)* @cxa_atexit_check_1, i8* null, i8* null ) ; <i32> [#uses=0]
|
||
|
br i1 false, label %cond_true, label %cond_next
|
||
|
|
||
|
cond_true: ; preds = %entry
|
||
|
ret i32 0
|
||
|
|
||
|
cond_next: ; preds = %entry
|
||
|
ret i32 0
|
||
|
}
|