mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
40b9d67109
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212347 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
347 B
LLVM
15 lines
347 B
LLVM
; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
|
|
|
|
target datalayout = "m:o"
|
|
|
|
; CHECK-NOT: memcpy
|
|
; CHECK: T _f
|
|
; CHECK-NOT: memcpy
|
|
|
|
define void @f() {
|
|
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* null, i8* null, i64 0, i32 1, i1 false)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1)
|