[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Nate Begeman
natebegeman at mac.com
Wed Oct 5 14:44:21 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.191 -> 1.192
---
Log message:
Remove some bad code from Legalize
---
Diffs of the changes: (+1 -4)
LegalizeDAG.cpp | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.191 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.192
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.191 Mon Oct 3 21:10:55 2005
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Oct 5 16:44:10 2005
@@ -2619,11 +2619,8 @@
// Otherwise, scan the operands of Node to see if any of them is a call.
assert(Node->getNumOperands() != 0 &&
"All leaves should have depth equal to the entry node!");
- for (unsigned i = 0, e = Node->getNumOperands()-1; i != e; ++i) {
+ for (unsigned i = 0, e = Node->getNumOperands()-1; i != e; ++i)
FindLatestCallSeqStart(Node->getOperand(i).Val, Found);
- if (Found->getOpcode() == ISD::CALLSEQ_START)
- return;
- }
// Tail recurse for the last iteration.
FindLatestCallSeqStart(Node->getOperand(Node->getNumOperands()-1).Val,
More information about the llvm-commits
mailing list