diff options
| author | Philip Reames <listmail@philipreames.com> | 2015-12-17 22:19:27 +0000 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2015-12-17 22:19:27 +0000 |
| commit | d7a6cc859ab5683efbf87f6b82c979465e9b91a0 (patch) | |
| tree | ca8f10fa2a73cb71d0a5ed07826a3a6f5970610e /llvm/unittests/Support/BranchProbabilityTest.cpp | |
| parent | d1fb58538ff3e9fd1a89dc4a840a48c337414027 (diff) | |
| download | llvm-d7a6cc859ab5683efbf87f6b82c979465e9b91a0.zip llvm-d7a6cc859ab5683efbf87f6b82c979465e9b91a0.tar.gz llvm-d7a6cc859ab5683efbf87f6b82c979465e9b91a0.tar.bz2 | |
[InstCombine] Extend peephole DSE to handle unordered atomics
This extends the same line of reasoning used in EarlyCSE w/http://reviews.llvm.org/D15352 to the DSE implementation in InstCombine.
Key points:
* We only remove unordered or simple stores.
* The loads producing values consumed by dead stores don't influence whether the store is dead.
Differential Revision: http://reviews.llvm.org/D15354
llvm-svn: 255932
Diffstat (limited to 'llvm/unittests/Support/BranchProbabilityTest.cpp')
0 files changed, 0 insertions, 0 deletions
