[PATCH] D86651: [MemCpyOpt] Preserve MemorySSA.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 29 01:05:33 PDT 2020
fhahn updated this revision to Diff 288764.
fhahn added a comment.
Herald added a subscriber: danielkiss.
Fix some bugs in the updating, add test cases.
There is one case where we turn a memmove into a memcpy, which currently is a no-op. We should probably remove the access and re-add it, but I am not sure how to best ensure we re-add the access at the correct position.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86651/new/
https://reviews.llvm.org/D86651
Files:
llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Transforms/MemCpyOpt/perserve-memssa.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86651.288764.patch
Type: text/x-patch
Size: 20030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200829/b96a181e/attachment.bin>
More information about the llvm-commits
mailing list