Skip to content

Commit ecbb519

Browse files
Address a comment.
1 parent 29c0dac commit ecbb519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/PartialInlining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ PartialInlinerImpl::computeOutliningColdRegionsInfo(
412412
bool ColdCandidateFound = false;
413413
BasicBlock *CurrEntry = EntryBlock;
414414
std::vector<BasicBlock *> DFS;
415-
DenseSet<BasicBlock *> VisitedSet;
415+
SmallPtrSet<BasicBlock *, 8> VisitedSet;
416416
DFS.push_back(CurrEntry);
417417
VisitedSet.insert(CurrEntry);
418418

0 commit comments

Comments
 (0)