summaryrefslogtreecommitdiff
path: root/test/Bitcode
diff options
context:
space:
mode:
authorMon P Wang <wangmp@apple.com>2010-04-02 18:04:15 +0000
committerMon P Wang <wangmp@apple.com>2010-04-02 18:04:15 +0000
commite33c848fa481b038d5ad0c7c898c33b2b27ec71e (patch)
treed8d13ac711e9a0df3c65fd792c6cd834955925e1 /test/Bitcode
parenta6194b3a2a6a4a4e41cf5f2e6163960e21b733ee (diff)
downloadllvm-e33c848fa481b038d5ad0c7c898c33b2b27ec71e.tar.gz
llvm-e33c848fa481b038d5ad0c7c898c33b2b27ec71e.tar.bz2
llvm-e33c848fa481b038d5ad0c7c898c33b2b27ec71e.tar.xz
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@100191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode')
-rw-r--r--test/Bitcode/memcpy.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Bitcode/memcpy.ll b/test/Bitcode/memcpy.ll
index 85b95fe572..b6573b5f62 100644
--- a/test/Bitcode/memcpy.ll
+++ b/test/Bitcode/memcpy.ll
@@ -8,6 +8,7 @@ entry:
tail call void @llvm.memcpy.i64( i8* %tmp.1, i8* %tmp.3, i64 100000, i32 1 )
tail call void @llvm.memset.i32( i8* %tmp.3, i8 14, i32 10000, i32 0 )
tail call void @llvm.memmove.i32( i8* %tmp.1, i8* %tmp.3, i32 123124, i32 1 )
+ tail call void @llvm.memmove.i64( i8* %tmp.1, i8* %tmp.3, i64 123124, i32 1 )
ret void
}
@@ -19,3 +20,4 @@ declare void @llvm.memset.i32(i8*, i8, i32, i32)
declare void @llvm.memmove.i32(i8*, i8*, i32, i32)
+declare void @llvm.memmove.i64(i8*, i8*, i32, i32)