mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
0d8d31674f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41893 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|