2014-02-28 10:17:23 +08:00
|
|
|
; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
|
|
|
|
|
|
|
|
target datalayout = "m:o"
|
|
|
|
|
2014-07-04 23:58:00 +08:00
|
|
|
; CHECK-NOT: memcpy
|
2014-02-28 10:17:23 +08:00
|
|
|
; CHECK: T _f
|
2014-07-04 23:58:00 +08:00
|
|
|
; CHECK-NOT: memcpy
|
|
|
|
|
2014-02-28 10:17:23 +08:00
|
|
|
define void @f() {
|
2014-07-04 23:58:00 +08:00
|
|
|
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* null, i8* null, i64 0, i32 1, i1 false)
|
2014-02-28 10:17:23 +08:00
|
|
|
ret void
|
|
|
|
}
|
2014-07-04 23:58:00 +08:00
|
|
|
|
|
|
|
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1)
|