[all-commits] [llvm/llvm-project] 6cda6d: [test] check strictest attributes possible for Inf...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Feb 3 08:45:31 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6cda6d2f61a61779c5c8680d19d4d5bfe773ab41
https://github.com/llvm/llvm-project/commit/6cda6d2f61a61779c5c8680d19d4d5bfe773ab41
Author: Augie Fackler <augie at google.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
Log Message:
-----------
[test] check strictest attributes possible for InferFunctionAttrs test
This appears to have all the same attributes as many other functions
in this file, and I think the use of INACCESSIBLEMEMONLY_NOFREE_NOUNWIND
instead of INACCESSIBLEMEMONLY_NOFREE_NOUNWIND_WILLRETURN was an
oversight that meant aligned_alloc's attributes were just going
unchecked. This patch corrects the test defect and now the attributes
inferred on aligned_alloc are actually validated, and the test still
passes.
Differential Revision: https://reviews.llvm.org/D117922
More information about the All-commits
mailing list