projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0661145
)
Remove an unneeded test.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 24 Mar 2008 23:55:16 +0000
(23:55 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 24 Mar 2008 23:55:16 +0000
(23:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48755
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 9feefb9e303e6ff186c1cabcc1f33fdd9c14b9b6..2229743b923b2592c7a78058f47d546729f87726 100644
(file)
--- 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);
}
}