[llvm-commits] [llvm] r48755 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Evan Cheng
evan.cheng at apple.com
Mon Mar 24 16:55:17 PDT 2008
Author: evancheng
Date: Mon Mar 24 18:55:16 2008
New Revision: 48755
URL: http://llvm.org/viewvc/llvm-project?rev=48755&view=rev
Log:
Remove an unneeded test.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=48755&r1=48754&r2=48755&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Mon Mar 24 18:55:16 2008
@@ -770,7 +770,7 @@
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);
}
}
More information about the llvm-commits
mailing list