blob: 4632aaae72f823467c44a416a5ae512f0aad671d [file] [log] [blame]
Dan Gohman5f43f922007-08-27 16:26:13 +00001; RUN: llvm-as < %s | llc -march=x86 | grep {call memcpy}
2
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}