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:
645f381
)
add cc nodes to the AllNodes list so they show up in Graphviz output
author
Chris Lattner
<sabre@nondot.org>
Tue, 9 Aug 2005 20:40:02 +0000
(20:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 9 Aug 2005 20:40:02 +0000
(20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22731
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index d321e7720d43dcd767dec0cda795ca1d09f63478..c23c145d64187da3ee8716d1ae7a8ff8beb151ec 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-379,8
+379,10
@@
SDOperand SelectionDAG::getCondCode(ISD::CondCode Cond) {
if ((unsigned)Cond >= CondCodeNodes.size())
CondCodeNodes.resize(Cond+1);
- if (CondCodeNodes[Cond] == 0)
+ if (CondCodeNodes[Cond] == 0)
{
CondCodeNodes[Cond] = new CondCodeSDNode(Cond);
+ AllNodes.push_back(CondCodeNodes[Cond]);
+ }
return SDOperand(CondCodeNodes[Cond], 0);
}