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

Luqman Aden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 20:02:41 PST 2017


luqmana updated this revision to Diff 87957.
luqmana added a comment.

Don't add assume if the value is already known to be nonnull.


https://reviews.llvm.org/D27114

Files:
  lib/Transforms/Scalar/SROA.cpp
  lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  test/Transforms/SROA/preserve-nonnull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27114.87957.patch
Type: text/x-patch
Size: 6087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/15d62f16/attachment.bin>


More information about the llvm-commits mailing list