[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed May 11 23:04:28 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.108 -> 1.109
---
Log message:
add fixme
---
Diffs of the changes: (+1 -0)
LegalizeDAG.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.108 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.109
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.108 Wed May 11 23:49:08 2005
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Thu May 12 01:04:14 2005
@@ -306,6 +306,7 @@
for (unsigned i = 0, e = Node->getNumOperands(); i != e; ++i) {
SDOperand Op = Node->getOperand(i);
// Fold single-use TokenFactor nodes into this token factor as we go.
+ // FIXME: This is something that the DAGCombiner should do!!
if (Op.getOpcode() == ISD::TokenFactor && Op.hasOneUse()) {
Changed = true;
for (unsigned j = 0, e = Op.getNumOperands(); j != e; ++j)
More information about the llvm-commits
mailing list