Skip to content

Commit 2bab4e3

Browse files
author
git apple-llvm automerger
committed
Merge commit '4973ad471817' from llvm.org/main into next
2 parents 01f9507 + 4973ad4 commit 2bab4e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,9 +1681,8 @@ void CallsiteContextGraph<DerivedCCG, FuncTy,
16811681
// from the profiled contexts.
16821682
MapVector<CallInfo, ContextNode *> TailCallToContextNodeMap;
16831683

1684-
for (auto Entry = NonAllocationCallToContextNodeMap.begin();
1685-
Entry != NonAllocationCallToContextNodeMap.end(); Entry++) {
1686-
auto *Node = Entry->second;
1684+
for (auto &Entry : NonAllocationCallToContextNodeMap) {
1685+
auto *Node = Entry.second;
16871686
assert(Node->Clones.empty());
16881687
// Check all node callees and see if in the same function.
16891688
auto Call = Node->Call.call();

0 commit comments

Comments
 (0)