mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 11:08:27 +00:00
clarify a comment, thanks Duncan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d43d00cf3a
commit
23e202dee0
@ -607,8 +607,9 @@ void DAGCombiner::Run(bool RunningAfterLegalize) {
|
|||||||
AddToWorkList(RV.Val);
|
AddToWorkList(RV.Val);
|
||||||
AddUsersToWorkList(RV.Val);
|
AddUsersToWorkList(RV.Val);
|
||||||
|
|
||||||
// Add any uses of the old node to the worklist if they have a single
|
// Add any uses of the old node to the worklist in case this node is the
|
||||||
// use. They may be dead after this node is deleted.
|
// last one that uses them. They may become dead after this node is
|
||||||
|
// deleted.
|
||||||
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
|
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
|
||||||
AddToWorkList(N->getOperand(i).Val);
|
AddToWorkList(N->getOperand(i).Val);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user