[PATCH] D84609: [MemDepAnalysis] Cut-off threshold reshuffling

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 03:37:37 PDT 2020


lebedev.ri updated this revision to Diff 281175.
lebedev.ri added a comment.

Split patch in two, keep only the threshold changes here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84609/new/

https://reviews.llvm.org/D84609

Files:
  llvm/lib/Analysis/MemoryDependenceAnalysis.cpp


Index: llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
===================================================================
--- llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -93,18 +93,18 @@
              "dependency analysis (default = 100)"));
 
 static cl::opt<unsigned>
-    BlockNumberLimit("memdep-block-number-limit", cl::Hidden, cl::init(1000),
+    BlockNumberLimit("memdep-block-number-limit", cl::Hidden, cl::init(250),
                      cl::desc("The number of blocks to scan during memory "
-                              "dependency analysis (default = 1000)"));
+                              "dependency analysis (default = 250)"));
 
 // In each of BlockNumberLimit block we are willing to scan up to BlockScanLimit
 // instructions, but the total count of instructions scanned in all blocks is
 // at most TotalInstructionCountLimit.
 // This is related to the NumInstructionsScannedMax statistic.
 static cl::opt<unsigned> TotalInstructionCountLimit(
-    "memdep-total-instruction-count-limit", cl::Hidden, cl::init(100000),
+    "memdep-total-instruction-count-limit", cl::Hidden, cl::init(1000),
     cl::desc("The number of instructions we are allowed to scan during memory "
-             "dependency analysis (default = 100000)"));
+             "dependency analysis (default = 1000)"));
 
 static cl::opt<unsigned> NumResultsLimit(
     "memdep-num-results-limit", cl::Hidden, cl::init(100),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84609.281175.patch
Type: text/x-patch
Size: 1475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200728/0ec68b52/attachment.bin>


More information about the llvm-commits mailing list