[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Wed Jul 26 23:40:29 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCISelDAGToDAG.cpp updated: 1.197 -> 1.198
---
Log message:
Remove NodeDepth
---
Diffs of the changes: (+1 -6)
PPCISelDAGToDAG.cpp | 7 +------
1 files changed, 1 insertion(+), 6 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.197 llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.198
--- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.197 Wed Jun 28 17:00:36 2006
+++ llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Thu Jul 27 01:40:15 2006
@@ -191,12 +191,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() < PPCISD::FIRST_NUMBER) ||
CodeGenMap.count(Node)) continue;
More information about the llvm-commits
mailing list