summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InferFunctionAttrs
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2016-07-29 18:23:18 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2016-07-29 18:23:18 +0000
commitb99d1cc7ed2bf3b57e7ee9528d4e0f2d30e65e5c (patch)
tree0a5b68e0ab47429022e2826a685490cad8812601 /llvm/test/Transforms/InferFunctionAttrs
parent0d56e05a12a98b23f5ca7df05ff53f256d7c5dc7 (diff)
downloadbcm5719-llvm-b99d1cc7ed2bf3b57e7ee9528d4e0f2d30e65e5c.tar.gz
bcm5719-llvm-b99d1cc7ed2bf3b57e7ee9528d4e0f2d30e65e5c.zip
Recommitting r275284: add support to inline __builtin_mempcpy
Patch by Sunita Marathe Third try, now following fixes to MSan to handle mempcy in such a way that this commit won't break the MSan buildbots. (Thanks, Evegenii!) llvm-svn: 277189
Diffstat (limited to 'llvm/test/Transforms/InferFunctionAttrs')
-rw-r--r--llvm/test/Transforms/InferFunctionAttrs/annotate.ll3
-rw-r--r--llvm/test/Transforms/InferFunctionAttrs/no-proto.ll3
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
index 039114d0cb9..64676bf310b 100644
--- a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
+++ b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
@@ -499,6 +499,9 @@ declare i32 @memcmp(i8*, i8*, i64)
; CHECK: declare i8* @memcpy(i8*, i8* nocapture readonly, i64) [[G0]]
declare i8* @memcpy(i8*, i8*, i64)
+; CHECK: declare i8* @mempcpy(i8*, i8* nocapture readonly, i64) [[G0]]
+declare i8* @mempcpy(i8*, i8*, i64)
+
; CHECK: declare i8* @memmove(i8*, i8* nocapture readonly, i64) [[G0]]
declare i8* @memmove(i8*, i8*, i64)
diff --git a/llvm/test/Transforms/InferFunctionAttrs/no-proto.ll b/llvm/test/Transforms/InferFunctionAttrs/no-proto.ll
index 256f5c356b8..25a4805c367 100644
--- a/llvm/test/Transforms/InferFunctionAttrs/no-proto.ll
+++ b/llvm/test/Transforms/InferFunctionAttrs/no-proto.ll
@@ -480,6 +480,9 @@ declare void @memcmp(...)
; CHECK: declare void @memcpy(...)
declare void @memcpy(...)
+; CHECK: declare void @mempcpy(...)
+declare void @mempcpy(...)
+
; CHECK: declare void @memmove(...)
declare void @memmove(...)
OpenPOWER on IntegriCloud