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

Luqman Aden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 29 12:51:55 PST 2016


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

Use assume to preserve nonnull-ness of Load.


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.82692.patch
Type: text/x-patch
Size: 5252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161229/ad1503b2/attachment.bin>


More information about the llvm-commits mailing list