[PATCH] D27114: Preserve nonnull metadata on Loads through SROA & mem2reg.
Luqman Aden via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 07:57:34 PST 2017
luqmana updated this revision to Diff 90035.
luqmana added a comment.
Use copyMetadata method instead of manually copying metadata.
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.90035.patch
Type: text/x-patch
Size: 5774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/b2c5eea6/attachment.bin>
More information about the llvm-commits
mailing list