Skip to content

Commit 08680cc

Browse files
committed
Comments.
1 parent cadaf89 commit 08680cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Analysis/MemoryDependenceAnalysis.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static cl::opt<unsigned>
8181
"dependency analysis (default = 200)"));
8282

8383
static cl::opt<unsigned> CacheGlobalLimit(
84-
"cache-global-limit", cl::Hidden, cl::init(10000),
84+
"memdep-cache-global-limit", cl::Hidden, cl::init(10000),
8585
cl::desc("The max number of entries allowed in a cache (default = 10000)"));
8686

8787
// Limit on the number of memdep results to process.
@@ -1147,9 +1147,8 @@ bool MemoryDependenceResults::getNonLocalPointerDepFromBB(
11471147
}
11481148

11491149
// If the size of this cache has surpassed the global limit, stop here.
1150-
if (Cache->size() > CacheGlobalLimit) {
1150+
if (Cache->size() > CacheGlobalLimit)
11511151
return false;
1152-
}
11531152

11541153
// Otherwise, either this is a new block, a block with an invalid cache
11551154
// pointer or one that we're about to invalidate by putting more info into

0 commit comments

Comments
 (0)