[PATCH] D27114: Preserve nonnull metadata on Loads through SROA & mem2reg.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 18:34:21 PST 2017


chandlerc added a comment.

In https://reviews.llvm.org/D27114#636348, @spatel wrote:

> Thanks for the changes.
>
> Someone else can correct me if I'm wrong, but I think we're delaying improvements in nonnull optimization until we have a clang hack to avoid disastrous optimizations of libc functions:
>  http://lists.llvm.org/pipermail/cfe-dev/2017-January/052066.html


Yes, that thread seems largely in favor of getting something in place in Clang first.

If no one else works on a patch to Clang I may in a week or so, but sadly my queue is very full at the moment.


https://reviews.llvm.org/D27114





More information about the llvm-commits mailing list