This method has now been changed to preserve flags for us!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-05 16:59:24 +00:00
parent a2dd745613
commit 907b7dc9bd

View File

@ -1367,11 +1367,8 @@ ForwardOperand(InstructionNode* treeNode,
}
for (unsigned i=0,numOps=minstr->getNumImplicitRefs(); i<numOps; ++i)
if (minstr->getImplicitRef(i) == unusedOp) {
minstr->setImplicitRef(i, fwdOp,
minstr->getImplicitOp(i).opIsDefOnly(),
minstr->getImplicitOp(i).opIsDefAndUse());
}
if (minstr->getImplicitRef(i) == unusedOp)
minstr->setImplicitRef(i, fwdOp);
}
}
}