diff options
| author | Florian Hahn <flo@fhahn.com> | 2021-10-29 21:58:42 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2021-10-29 22:19:53 +0100 |
| commit | 274a9b0f0b4e9f6a8520e92d9eff629815436e28 (patch) | |
| tree | b209c332c6bc72aaeaf534090d84cd13470db331 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | e6b323379e3195ba98bacc9216fe38025bda6104 (diff) | |
[DSE] Support redundant stores eliminated by memset.
This patch adds support to remove stores that write the same value
as earlier memesets.
It uses isOverwrite to check that a memset completely overwrites a later
store. The candidate store must store the same bytewise value as the
byte stored by the memset.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D112321
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
