Skip to content
Unverified Commit 274a9b0f authored by Florian Hahn's avatar Florian Hahn
Browse files

[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
parent e6b32337
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment