diff options
author | David Bolvansky <david.bolvansky@gmail.com> | 2018-08-23 05:18:23 +0000 |
---|---|---|
committer | David Bolvansky <david.bolvansky@gmail.com> | 2018-08-23 05:18:23 +0000 |
commit | 8715e034776d8da9d9d9ab844f57f53813b15d2f (patch) | |
tree | 396539aac564e94d504930fc46b8cc3dae2e3813 /llvm/test/Transforms/InferFunctionAttrs/annotate.ll | |
parent | 20598b05d0806c8cfb0d65d461e208ead083cc39 (diff) | |
download | bcm5719-llvm-8715e034776d8da9d9d9ab844f57f53813b15d2f.tar.gz bcm5719-llvm-8715e034776d8da9d9d9ab844f57f53813b15d2f.zip |
[LibCalls] Added returned attribute to libcalls
Reviewers: efriedma
Reviewed By: efriedma
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D51092
llvm-svn: 340512
Diffstat (limited to 'llvm/test/Transforms/InferFunctionAttrs/annotate.ll')
-rw-r--r-- | llvm/test/Transforms/InferFunctionAttrs/annotate.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll index 371f1ad065b..37dfe41cfcb 100644 --- a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll +++ b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll @@ -625,13 +625,13 @@ declare i8* @memchr(i8*, i32, i64) ; CHECK: declare i32 @memcmp(i8* nocapture, i8* nocapture, i64) [[G1]] declare i32 @memcmp(i8*, i8*, i64) -; CHECK: declare i8* @memcpy(i8*, i8* nocapture readonly, i64) [[G0]] +; CHECK: declare i8* @memcpy(i8* returned, 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]] +; CHECK: declare i8* @memmove(i8* returned, i8* nocapture readonly, i64) [[G0]] declare i8* @memmove(i8*, i8*, i64) ; CHECK: declare i8* @memset(i8*, i32, i64) @@ -829,7 +829,7 @@ declare i8* @stpncpy(i8*, i8*, i64) ; CHECK: declare i32 @strcasecmp(i8* nocapture, i8* nocapture) [[G1]] declare i32 @strcasecmp(i8*, i8*) -; CHECK: declare i8* @strcat(i8*, i8* nocapture readonly) [[G0]] +; CHECK: declare i8* @strcat(i8* returned, i8* nocapture readonly) [[G0]] declare i8* @strcat(i8*, i8*) ; CHECK: declare i8* @strchr(i8*, i32) [[G1]] @@ -841,7 +841,7 @@ declare i32 @strcmp(i8*, i8*) ; CHECK: declare i32 @strcoll(i8* nocapture, i8* nocapture) [[G1]] declare i32 @strcoll(i8*, i8*) -; CHECK: declare i8* @strcpy(i8*, i8* nocapture readonly) [[G0]] +; CHECK: declare i8* @strcpy(i8* returned, i8* nocapture readonly) [[G0]] declare i8* @strcpy(i8*, i8*) ; CHECK: declare i64 @strcspn(i8* nocapture, i8* nocapture) [[G1]] @@ -856,13 +856,13 @@ declare i64 @strlen(i8*) ; CHECK: declare i32 @strncasecmp(i8* nocapture, i8* nocapture, i64) [[G1]] declare i32 @strncasecmp(i8*, i8*, i64) -; CHECK: declare i8* @strncat(i8*, i8* nocapture readonly, i64) [[G0]] +; CHECK: declare i8* @strncat(i8* returned, i8* nocapture readonly, i64) [[G0]] declare i8* @strncat(i8*, i8*, i64) ; CHECK: declare i32 @strncmp(i8* nocapture, i8* nocapture, i64) [[G1]] declare i32 @strncmp(i8*, i8*, i64) -; CHECK: declare i8* @strncpy(i8*, i8* nocapture readonly, i64) [[G0]] +; CHECK: declare i8* @strncpy(i8* returned, i8* nocapture readonly, i64) [[G0]] declare i8* @strncpy(i8*, i8*, i64) ; CHECK: declare noalias i8* @strndup(i8* nocapture readonly, i64) [[G0]] |