blob: 3224d1a92523bb412882d2f02ccadedddb064ccf [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc
Chris Lattner92b53762005-07-13 01:42:03 +00002; Test that llvm.memcpy works with a i64 length operand on all targets.
3
4
Reid Spencerd05b67d2006-12-02 20:38:10 +00005declare void %llvm.memcpy.i64(sbyte*, sbyte*, ulong, uint)
Chris Lattner92b53762005-07-13 01:42:03 +00006
7void %l12_l94_bc_divide_endif_2E_3_2E_ce() {
8newFuncRoot:
Reid Spencerd05b67d2006-12-02 20:38:10 +00009 tail call void %llvm.memcpy.i64( sbyte* null, sbyte* null, ulong 0, uint 1 )
Chris Lattner92b53762005-07-13 01:42:03 +000010 unreachable
11}