summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita972ab8564c8c7ad1afaa0f32e25c15db42493a7 (patch)
tree5540f2dffb7885515322b9a99ec4415288d8cdca /llvm/test/Bitcode
parent031d4d40d0a185ce84ae46fb2f5cbe297513a7a7 (diff)
downloadbcm5719-llvm-a972ab8564c8c7ad1afaa0f32e25c15db42493a7.tar.gz
bcm5719-llvm-a972ab8564c8c7ad1afaa0f32e25c15db42493a7.zip
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: 100191
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/memcpy.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/memcpy.ll b/llvm/test/Bitcode/memcpy.ll
index 85b95fe5726..b6573b5f621 100644
--- a/llvm/test/Bitcode/memcpy.ll
+++ b/llvm/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)
OpenPOWER on IntegriCloud