projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3141d
)
add fixme
author
Chris Lattner
<sabre@nondot.org>
Thu, 12 May 2005 06:04:14 +0000
(06:04 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 12 May 2005 06:04:14 +0000
(06:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21887
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index fa50d4a78974b46bd73822b6db3cd4c2b464ae0d..b8c4315e51260265d24a07341d5c2481e3644f80 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-306,6
+306,7
@@
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
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)