Remove an unneeded test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-03-24 23:55:16 +00:00
parent 066114555d
commit ea10046ebc

View File

@ -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);
}
}