[DeadStoreElimination] Shorten beginning of memset overwritten by later stores
authorJun Bum Lim <junbuml@codeaurora.org>
Fri, 22 Apr 2016 19:51:29 +0000 (19:51 +0000)
committerJun Bum Lim <junbuml@codeaurora.org>
Fri, 22 Apr 2016 19:51:29 +0000 (19:51 +0000)
commitd29a24e4fdb55fd64b34c41875147181e830ac42
tree6474821a5c7e1d0400535065e070406942530b7f
parent395c2127ed4dd630ed6ebb6ed4d3877b04126f98
[DeadStoreElimination] Shorten beginning of memset overwritten by later stores

Summary: This change will shorten memset if the beginning of memset is overwritten by later stores.

Reviewers: hfinkel, eeckstein, dberlin, mcrosier

Subscribers: mgrang, mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D18906

llvm-svn: 267197
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/Transforms/DeadStoreElimination/OverwriteStoreBegin.ll [new file with mode: 0644]