aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2017-03-17 22:15:50 +0000
committerEli Friedman <efriedma@codeaurora.org>2017-03-17 22:15:50 +0000
commit46ddab38102b79a8e477a29e68e9441313bc1f86 (patch)
tree2de6df0d1331c2805740f560cb08c5017c8c1ada /clang/unittests/Basic/SourceManagerTest.cpp
parent5758b2e4886a4f1464b482ac29bdc43b68e599a6 (diff)
downloadllvm-46ddab38102b79a8e477a29e68e9441313bc1f86.zip
llvm-46ddab38102b79a8e477a29e68e9441313bc1f86.tar.gz
llvm-46ddab38102b79a8e477a29e68e9441313bc1f86.tar.bz2
[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 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions