[PATCH] D27855: try to extend nonnull-ness of arguments from a callsite back to its parent function
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 13 11:04:49 PST 2017
spatel updated this revision to Diff 88228.
spatel added a comment.
Patch updated:
1. Hide the transform behind a disabled-by-default hidden flag.
2. Use CallSite so the transform works for invokes as well as calls.
3. Add a test case with invoke to show that works.
https://reviews.llvm.org/D27855
Files:
lib/Transforms/IPO/FunctionAttrs.cpp
test/Transforms/FunctionAttrs/nonnull.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27855.88228.patch
Type: text/x-patch
Size: 8263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170213/a3e8e2b9/attachment.bin>
More information about the llvm-commits
mailing list