[PATCH] D107605: [MemCpyOpt] Teach memcpyopt to handle loads from the constant memory.
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 19:34:23 PDT 2021
hliao updated this revision to Diff 364677.
hliao added a comment.
Check isModSet instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107605/new/
https://reviews.llvm.org/D107605
Files:
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Transforms/MemCpyOpt/load-store-to-memcpy.ll
llvm/test/Transforms/MemCpyOpt/memcpy.ll
llvm/test/Transforms/MemCpyOpt/memmove.ll
llvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107605.364677.patch
Type: text/x-patch
Size: 9382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210806/75afaf00/attachment.bin>
More information about the llvm-commits
mailing list