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:
d73cc5d
)
Wrap long line, actually add node to the graph.
author
Chris Lattner
<sabre@nondot.org>
Sat, 14 May 2005 06:42:57 +0000
(06:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 14 May 2005 06:42:57 +0000
(06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22011
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 90d00cfba8db5f96b49aea4744bf8a1b37de0ac0..6064598ff2b5edb99f7d93510f950654e4a2a4d6 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-1463,6
+1463,7
@@
SDOperand SelectionDAG::getNode(unsigned Opcode,
if (N) return SDOperand(N, 0);
N = new SDNode(Opcode, Ops);
N->setValueTypes(ResultTys);
+ AllNodes.push_back(N);
return SDOperand(N, 0);
}
@@
-1572,7
+1573,8
@@
SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,SDOperand N1,
}
SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,SDOperand N1,
- SDOperand N2, SDOperand N3, SDOperand N4, MVT::ValueType EVT) {
+ SDOperand N2, SDOperand N3, SDOperand N4,
+ MVT::ValueType EVT) {
switch (Opcode) {
default: assert(0 && "Bad opcode for this accessor!");
case ISD::TRUNCSTORE: