From fe7610f37f43bc9c35c839b9d564fc6f71d589cd Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 24 Mar 2008 23:55:16 +0000 Subject: [PATCH] Remove an unneeded test. llvm-svn: 48755 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 9feefb9e303e..2229743b923b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/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); } }