mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
add fixme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21887 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b3141d324
commit
e131e5b81e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user