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