We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4913e7b commit 3ce3872Copy full SHA for 3ce3872
llvm/lib/Support/DAGDeltaAlgorithm.cpp
@@ -201,8 +201,9 @@ DAGDeltaAlgorithmImpl::DAGDeltaAlgorithmImpl(
201
std::set<change_ty> &ChangeSuccs = SuccClosure[Change];
202
for (pred_iterator_ty it = pred_begin(Change),
203
ie = pred_end(Change); it != ie; ++it) {
204
- SuccClosure[*it].insert(Change);
205
- SuccClosure[*it].insert(ChangeSuccs.begin(), ChangeSuccs.end());
+ auto &SC = SuccClosure[*it];
+ SC.insert(Change);
206
+ SC.insert(ChangeSuccs.begin(), ChangeSuccs.end());
207
Worklist.push_back(*it);
208
}
209
0 commit comments