diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-10 18:57:23 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-13 21:19:19 +0200 |
commit | baa3b87015124798c9f0a040e76277e7e74b35b1 (patch) | |
tree | ad19e14eb30a72acd9e54bfe8fc3802136ad22f0 /llvm/lib/Support/LineIterator.cpp | |
parent | e2c888f571680e98e0daec2b003663311035a607 (diff) | |
download | llvm-baa3b87015124798c9f0a040e76277e7e74b35b1.zip llvm-baa3b87015124798c9f0a040e76277e7e74b35b1.tar.gz llvm-baa3b87015124798c9f0a040e76277e7e74b35b1.tar.bz2 |
[MemCpyOpt] Don't shorten memset if memcpy operands may be the same
If the memcpy operands are the same (which is allowed since D86815)
then the memcpy is effectively a no-op and the partially overlapping
memset is not dead.
Differential Revision: https://reviews.llvm.org/D89192
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions