[PATCH] D123089: BuildLibCalls: infer allockind attributes on relevant functions
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 13:16:25 PDT 2022
nikic added inline comments.
================
Comment at: llvm/test/Transforms/InferFunctionAttrs/annotate.ll:223
-; CHECK: declare noalias noundef i8* @aligned_alloc(i64 allocalign noundef, i64 noundef) [[INACCESSIBLEMEMONLY_NOFREE_NOUNWIND_WILLRETURN_ALLOCSIZE1_FAMILY_MALLOC:#[0-9]+]]
+; CHECK: declare noalias noundef i8* @aligned_alloc(i64 allocalign noundef, i64 noundef) [[INACCESSIBLEMEMONLY_NOFREE_NOUNWIND_WILLRETURN_ALLOCKIND18_ALLOCSIZE1_FAMILY_MALLOC:#[0-9]+]]
declare i8* @aligned_alloc(i64, i64)
----------------
What do these ALLOCKIND18 etc names stand for? Is that the integral value of the flags?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123089/new/
https://reviews.llvm.org/D123089
More information about the llvm-commits
mailing list