diff options
author | Florian Hahn <flo@fhahn.com> | 2020-07-08 08:42:55 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-07-08 08:59:46 +0100 |
commit | 80970ac87574c6d0292894a4a912fa512336f434 (patch) | |
tree | 62e5581ecdbb9ea23e0b429bf7c1696d1d154745 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | d8dfd6dcc143a2164ae781de6598e72b7183fc3f (diff) | |
download | llvm-80970ac87574c6d0292894a4a912fa512336f434.zip llvm-80970ac87574c6d0292894a4a912fa512336f434.tar.gz llvm-80970ac87574c6d0292894a4a912fa512336f434.tar.bz2 |
[DSE,MSSA] Eliminate stores by terminators (free,lifetime.end).
This patch adds support for eliminating stores by free & lifetime.end
calls. We can remove stores that are not read before calling a memory
terminator and we can eliminate all stores after a memory terminator
until we see a new lifetime.start. The second case seems to not really
trigger much in practice though.
Reviewers: dmgreen, rnk, efriedma, bryant, asbirlea, Tyker
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D72410
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions