summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-10-29 21:58:42 +0100
committerFlorian Hahn <flo@fhahn.com>2021-10-29 22:19:53 +0100
commit274a9b0f0b4e9f6a8520e92d9eff629815436e28 (patch)
treeb209c332c6bc72aaeaf534090d84cd13470db331 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente6b323379e3195ba98bacc9216fe38025bda6104 (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