1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Object/mangle-ir.ll
Rafael Espindola 37a35454ed Mark intrinsic functions as llvm-specific.
llvm-svn: 212347
2014-07-04 15:58:00 +00:00

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)