2013-04-08 18:33:51 +00:00
|
|
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: llvm intrinsics cannot be defined
|
2006-12-13 04:30:18 +00:00
|
|
|
; PR1047
|
|
|
|
|
Reapply address space patch after fixing an issue in MemCopyOptimizer.
Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset,
e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100304 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-04 03:10:48 +00:00
|
|
|
define void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) {
|
2006-12-13 04:30:18 +00:00
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|