aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-24 23:55:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-24 23:55:16 +0000
commite40b51cd8322c5b9f51ffbc1589280db05f7d97b (patch)
tree33103e01d816f0d40e260b051d3404fcf8a5df90 /lib
parentf068865fca6c1da137bad228b52a77635687752f (diff)
downloadexternal_llvm-e40b51cd8322c5b9f51ffbc1589280db05f7d97b.zip
external_llvm-e40b51cd8322c5b9f51ffbc1589280db05f7d97b.tar.gz
external_llvm-e40b51cd8322c5b9f51ffbc1589280db05f7d97b.tar.bz2
Remove an unneeded test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 9feefb9..2229743 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -770,7 +770,7 @@ SDOperand DAGCombiner::combine(SDNode *N) {
SDOperand Ops[] = { N1, N0 };
SDNode *CSENode = DAG.getNodeIfExists(N->getOpcode(), N->getVTList(),
Ops, 2);
- if (CSENode && CSENode->use_size() <= N->use_size())
+ if (CSENode)
return SDOperand(CSENode, 0);
}
}