mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
2e7e251f24
to not alias each other, it can be translated as an llvm.memcpy. llvm-svn: 41489
10 lines
233 B
LLVM
10 lines
233 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | grep {call memmove}
|
|
|
|
declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a)
|
|
|
|
define void @foo(i8* %d, i8* %s)
|
|
{
|
|
call void @llvm.memmove.i64(i8* %d, i8* %s, i64 32, i32 1)
|
|
ret void
|
|
}
|