2013-04-09 02:33:51 +08:00
|
|
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: llvm intrinsics cannot be defined
|
2006-12-13 12:30:18 +08: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)
llvm-svn: 100304
2010-04-04 11:10:48 +08:00
|
|
|
define void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) {
|
2006-12-13 12:30:18 +08:00
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|