blob: a2b452dbdfc57464777ba170b64a3bbe2e8200e2 [file] [log] [blame]
Dan Gohman9bd8a562007-08-27 20:54:48 +00001; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu | grep {call memcpy}
Dan Gohman5f43f922007-08-27 16:26:13 +00002
3declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a)
4
5define void @foo(i8* noalias %d, i8* noalias %s, i64 %l)
6{
7 call void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 1)
8 ret void
9}