summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll
blob: ab3a31d3c077c8689879c069fa7a14c1e97e3f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc
; Test that llvm.memcpy works with a i64 length operand on all targets.

declare void @llvm.memcpy.i64(i8*, i8*, i64, i32)

define void @l12_l94_bc_divide_endif_2E_3_2E_ce() {
newFuncRoot:
        tail call void @llvm.memcpy.i64( i8* null, i8* null, i64 0, i32 1 )
        unreachable
}

OpenPOWER on IntegriCloud