[llvm] d9bb9bd - [InferAttrs] Add memset_pattern{4, 8} declarations to test.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 2 02:12:14 PST 2021


Author: Florian Hahn
Date: 2021-12-02T10:11:55Z
New Revision: d9bb9bd4bf7a661cbb67f49e2c65f637367393eb

URL: https://github.com/llvm/llvm-project/commit/d9bb9bd4bf7a661cbb67f49e2c65f637367393eb
DIFF: https://github.com/llvm/llvm-project/commit/d9bb9bd4bf7a661cbb67f49e2c65f637367393eb.diff

LOG: [InferAttrs] Add memset_pattern{4,8} declarations to test.

Added: 
    

Modified: 
    llvm/test/Transforms/InferFunctionAttrs/annotate.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
index 40306356594ff..73fd4ba6efad8 100644
--- a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
+++ b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll
@@ -1011,7 +1011,11 @@ declare i32 @vsscanf(i8*, i8*, %opaque*)
 declare i64 @write(i32, i8*, i64)
 
 
-; memset_pattern16 isn't available everywhere.
+; memset_pattern{4,8,16} aren't available everywhere.
+; CHECK-DARWIN: declare void @memset_pattern4(i8*, i8*, i64) [[NOFREE]]
+declare void @memset_pattern4(i8*, i8*, i64)
+; CHECK-DARWIN: declare void @memset_pattern8(i8*, i8*, i64) [[NOFREE]]
+declare void @memset_pattern8(i8*, i8*, i64)
 ; CHECK-DARWIN: declare void @memset_pattern16(i8* nocapture writeonly, i8* nocapture readonly, i64) [[ARGMEMONLY_NOFREE:#[0-9]+]]
 declare void @memset_pattern16(i8*, i8*, i64)
 


        


More information about the llvm-commits mailing list