[PATCH] D63604: [Attributor] Deduce "nonnull" attribute
Hideto Ueno via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 13:48:20 PDT 2019
uenoku updated this revision to Diff 208798.
uenoku retitled this revision from "[Attributor] Deduce "nonnull" on return value" to "[Attributor] Deduce "nonnull" attribute".
uenoku edited the summary of this revision.
uenoku added a comment.
- Deduce nonnull on functions argument if we have nonnull in whole call sites (mostly based on D59202 <https://reviews.llvm.org/D59202>).
- Deduce nonnull on a call site argument if the passed value is assumed nonnull.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63604/new/
https://reviews.llvm.org/D63604
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/FunctionAttrs/arg_returned.ll
llvm/test/Transforms/FunctionAttrs/nonnull.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63604.208798.patch
Type: text/x-patch
Size: 20521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190709/77796d27/attachment.bin>
More information about the llvm-commits
mailing list