mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
12 lines
303 B
LLVM
12 lines
303 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
; Test that llvm.memcpy works with a i64 length operand on all targets.
|
||
|
|
||
|
|
||
|
declare void %llvm.memcpy(sbyte*, sbyte*, ulong, uint)
|
||
|
|
||
|
void %l12_l94_bc_divide_endif_2E_3_2E_ce() {
|
||
|
newFuncRoot:
|
||
|
tail call void %llvm.memcpy( sbyte* null, sbyte* null, ulong 0, uint 1 )
|
||
|
unreachable
|
||
|
}
|