[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Thu Jul 27 01:40:00 CDT 2006



Changes in directory llvm/lib/Target/IA64:

IA64ISelDAGToDAG.cpp updated: 1.44 -> 1.45
---
Log message:

Remove NodeDepth

---
Diffs of the changes:  (+1 -6)

 IA64ISelDAGToDAG.cpp |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)


Index: llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp
diff -u llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.44 llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.45
--- llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp:1.44	Tue Jul 11 13:25:13 2006
+++ llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp	Thu Jul 27 01:39:46 2006
@@ -118,12 +118,7 @@
   while (!Worklist.empty()) {
     SDOperand Node = Worklist.back();
     Worklist.pop_back();
-    
-    // Chose from the least deep of the top two nodes.
-    if (!Worklist.empty() &&
-        Worklist.back().Val->getNodeDepth() < Node.Val->getNodeDepth())
-      std::swap(Worklist.back(), Node);
-    
+
     if ((Node.Val->getOpcode() >= ISD::BUILTIN_OP_END &&
          Node.Val->getOpcode() < IA64ISD::FIRST_NUMBER) ||
         CodeGenMap.count(Node)) continue;






More information about the llvm-commits mailing list