diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-10 17:47:20 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-13 21:12:19 +0200 |
commit | 39c39e8a7f09ff8f0385ef9962d1075d9559d139 (patch) | |
tree | bf2f58baa1d679df0faa693f1c2da6f2e7c98d18 /llvm/lib/Support/LineIterator.cpp | |
parent | 10f1ca99b498347186ec74b01046ad292bde9a4c (diff) | |
download | llvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.zip llvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.tar.gz llvm-39c39e8a7f09ff8f0385ef9962d1075d9559d139.tar.bz2 |
[MemCpyOpt] Don't shorten memset if destination observable through unwinding
MemCpyOpt can shorten a memset if it is later partially overwritten
by a memcpy. It checks that the destination is not read in between,
but we also need to make sure that the destination cannot be observed
via unwinding.
Differential Revision: https://reviews.llvm.org/D89190
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions