[PATCH] D55120: [MemCpyOpt] memset->memcpy forwarding with undef tail
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 7 07:33:44 PST 2018
nikic updated this revision to Diff 177213.
nikic added a comment.
Conversatively return ModRef for volatile memsets. Add a few more tests.
Forwarding happens for the case of volatile memset + non-volatile memcpy and doesn't for non-volatile memset + volatile memcpy, which I *think* is correct. (In either case this is existing behavior, this patch doesn't change it.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55120/new/
https://reviews.llvm.org/D55120
Files:
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/memset-memcpy-oversized.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55120.177213.patch
Type: text/x-patch
Size: 10608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181207/1efa8ed2/attachment.bin>
More information about the llvm-commits
mailing list