mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
339 B
LLVM
13 lines
339 B
LLVM
; RUN: llc < %s | not grep call
|
|
|
|
target triple = "i686-pc-linux-gnu"
|
|
|
|
define void @a(i8* %a, i8* %b) nounwind {
|
|
%tmp2 = bitcast i8* %a to i8*
|
|
%tmp3 = bitcast i8* %b to i8*
|
|
tail call void @llvm.memmove.i32( i8* %tmp2, i8* %tmp3, i32 12, i32 4 )
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.memmove.i32(i8*, i8*, i32, i32)
|