From b99d1cc7ed2bf3b57e7ee9528d4e0f2d30e65e5c Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Fri, 29 Jul 2016 18:23:18 +0000 Subject: 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 --- llvm/test/Transforms/InferFunctionAttrs/annotate.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/test/Transforms/InferFunctionAttrs/annotate.ll') 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) -- cgit v1.2.3