2008-02-19 09:41:04 +08:00
|
|
|
; RUN: llvm-as < %s | llc
|
2005-07-13 09:42:03 +08:00
|
|
|
; Test that llvm.memcpy works with a i64 length operand on all targets.
|
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)
|
2005-07-13 09:42:03 +08:00
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
define void @l12_l94_bc_divide_endif_2E_3_2E_ce() {
|
2005-07-13 09:42:03 +08:00
|
|
|
newFuncRoot:
|
2008-02-19 09:41:04 +08:00
|
|
|
tail call void @llvm.memcpy.i64( i8* null, i8* null, i64 0, i32 1 )
|
|
|
|
unreachable
|
2005-07-13 09:42:03 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|