[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 Dec 19 16:01:46 PST 2016


spatel retitled this revision from "[InstCombine] try to extend nonnull-ness of arguments from a callsite back to its parent function" to "try to extend nonnull-ness of arguments from a callsite back to its parent function".
spatel updated this revision to Diff 82030.
spatel added a comment.

Patch updated:
Move the logic and test cases from InstCombine to FuncAttrs to avoid sensitivity to function visit ordering, but this exposes a different ordering problem: -functionattrs is currently run after -inline, so this doesn't appear to help the motivating case at all.


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.82030.patch
Type: text/x-patch
Size: 6373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161220/e269e863/attachment.bin>


More information about the llvm-commits mailing list