Skip to content

Commit fec951d

Browse files
authored
fix comments from nikic
1 parent c49a7e8 commit fec951d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Analysis/MemoryDependenceAnalysis.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -984,10 +984,6 @@ static void
984984
SortNonLocalDepInfoCache(MemoryDependenceResults::NonLocalDepInfo &Cache,
985985
unsigned NumSortedEntries) {
986986

987-
// Output number of sorted entries and size of cache for each sort.
988-
LLVM_DEBUG(dbgs() << "NumSortedEntries: " << NumSortedEntries
989-
<< ", Cache.size: " << Cache.size() << "\n");
990-
991987
// If only one entry, don't sort.
992988
if (Cache.size() < 2)
993989
return;
@@ -1004,7 +1000,7 @@ SortNonLocalDepInfoCache(MemoryDependenceResults::NonLocalDepInfo &Cache,
10041000
return;
10051001
}
10061002

1007-
// If the number of unsorted entires is small and the cache size is big, use
1003+
// If the number of unsorted entires is small and the cache size is big, using
10081004
// insertion sort is faster. Here use Log2_32 to quickly choose the sort
10091005
// method.
10101006
if (s < Log2_32(Cache.size())) {

0 commit comments

Comments
 (0)