mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
a7f99f28a7
implementation. Currently lit still executes ExecutionEngine tests with JIT (not MCJIT) by default. MCJIT tests can be executed manually by calling llvm-lit with --param jit_impl=mcjit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148299 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
296 B
LLVM
17 lines
296 B
LLVM
; RUN: %lli %s > /dev/null
|
|
; XFAIL: arm
|
|
; XFAIL: mcjit
|
|
|
|
define i32 @_Z14func_exit_codev() nounwind uwtable {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @main() nounwind uwtable {
|
|
entry:
|
|
%retval = alloca i32, align 4
|
|
store i32 0, i32* %retval
|
|
%call = call i32 @_Z14func_exit_codev()
|
|
ret i32 %call
|
|
}
|