[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 20 10:40:21 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.272 -> 1.273
---
Log message:
remove some unintentionally committed code
---
Diffs of the changes: (+2 -3)
LegalizeDAG.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.272 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.273
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.272 Fri Jan 20 12:38:32 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Fri Jan 20 12:40:10 2006
@@ -3377,8 +3377,7 @@
/// Found.
static void FindLatestCallSeqStart(SDNode *Node, SDNode *&Found,
std::set<SDNode*> &Visited) {
- if (/*Node->getNodeDepth() <= Found->getNodeDepth() ||*/
- Node->getNumOperands() == 0 ||
+ if (Node->getNodeDepth() <= Found->getNodeDepth() ||
!Visited.insert(Node).second) return;
// If we found an CALLSEQ_START, we already know this node occurs later
@@ -3405,7 +3404,7 @@
/// than Found.
static void FindEarliestCallSeqEnd(SDNode *Node, SDNode *&Found,
std::set<SDNode*> &Visited) {
- if (/*(Found && Node->getNodeDepth() >= Found->getNodeDepth()) ||*/
+ if ((Found && Node->getNodeDepth() >= Found->getNodeDepth()) ||
!Visited.insert(Node).second) return;
// If we found an CALLSEQ_END, we already know this node occurs earlier
More information about the llvm-commits
mailing list