diff options
author | Philip Reames <listmail@philipreames.com> | 2015-12-16 01:01:30 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-12-16 01:01:30 +0000 |
commit | ae1f265bf19858ada9c9b6761fba7f8e1f9e395a (patch) | |
tree | cde415aaca28e72cf9fdfab809176853ad4b8d85 /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py | |
parent | e2e332a50eee8adc091fab85514649529bc18db2 (diff) | |
download | bcm5719-llvm-ae1f265bf19858ada9c9b6761fba7f8e1f9e395a.tar.gz bcm5719-llvm-ae1f265bf19858ada9c9b6761fba7f8e1f9e395a.zip |
[EarlyCSE] DSE of stores which write back loaded values
Extend EarlyCSE with an additional style of dead store elimination. If we write back a value just read from that memory location, we can eliminate the store under the assumption that the value hasn't changed.
I'm implementing this mostly because I noticed the omission when looking at the code. It seemed strange to have InstCombine have a peephole which was more powerful than EarlyCSE. :)
Differential Revision: http://reviews.llvm.org/D15397
llvm-svn: 255739
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions