diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-03-17 22:15:50 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-03-17 22:15:50 +0000 |
commit | 46ddab38102b79a8e477a29e68e9441313bc1f86 (patch) | |
tree | 2de6df0d1331c2805740f560cb08c5017c8c1ada /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 5758b2e4886a4f1464b482ac29bdc43b68e599a6 (diff) | |
download | bcm5719-llvm-46ddab38102b79a8e477a29e68e9441313bc1f86.tar.gz bcm5719-llvm-46ddab38102b79a8e477a29e68e9441313bc1f86.zip |
[SelectionDAG] Remove redundant stores more aggressively.
Handle TokenFactors more aggressively in
SDValue::reachesChainWithoutSideEffects. This isn't really a
very effective change anymore because of other changes to
chain handling, but it's a cheap check, and the expanded
comments are still useful.
It might be possible to loosen the hasOneUse() requirement with a
deeper analysis, but a naive implementation of that check would be
expensive.
Differential Revision: https://reviews.llvm.org/D29845
llvm-svn: 298156
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions