aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LineIterator.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-10 18:57:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-13 21:19:19 +0200
commitbaa3b87015124798c9f0a040e76277e7e74b35b1 (patch)
treead19e14eb30a72acd9e54bfe8fc3802136ad22f0 /llvm/lib/Support/LineIterator.cpp
parente2c888f571680e98e0daec2b003663311035a607 (diff)
downloadllvm-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