mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
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:
parent
a2dd745613
commit
907b7dc9bd
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user