blob: d4050689f5946a18f1bd07873e06945110f9ae68 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep {call memcpy}
Dan Gohmancc863aa2007-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}