[PATCH] D119929: [MemCpyOpt] Check uses of found Clobber in writtenBetween.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 18 09:49:28 PST 2022
fhahn updated this revision to Diff 409964.
fhahn added a comment.
Update this patch to just scan if start & end are in the same block, otherwise conservatively return true. It might be easier to fix the mis-compile first and subsequently re-add cross-bb scanning.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119929/new/
https://reviews.llvm.org/D119929
Files:
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Transforms/MemCpyOpt/memcpy-invoke-memcpy.ll
llvm/test/Transforms/MemCpyOpt/memcpy.ll
llvm/test/Transforms/MemCpyOpt/nonlocal-memcpy-memcpy.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119929.409964.patch
Type: text/x-patch
Size: 9183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/09277208/attachment.bin>
More information about the llvm-commits
mailing list