[llvm] c7b7c32 - [DSE,MemorySSA] Increase walker limit a bit.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 06:57:23 PDT 2020


Author: Florian Hahn
Date: 2020-09-08T14:55:46+01:00
New Revision: c7b7c32f4a25d15e992215c8524871bef47d959b

URL: https://github.com/llvm/llvm-project/commit/c7b7c32f4a25d15e992215c8524871bef47d959b
DIFF: https://github.com/llvm/llvm-project/commit/c7b7c32f4a25d15e992215c8524871bef47d959b.diff

LOG: [DSE,MemorySSA] Increase walker limit a bit.

This slightly bumps the walker limit so that it covers more cases while
not increasing compile-time too much:
http://llvm-compile-time-tracker.com/compare.php?from=0fc1c2b51ba0cfb9145139af35be638333865251&to=91144a50ea4fa82c0c877e77784f60371640b263&stat=instructions

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index 49e811b298a60..892ba559e7903 100644
--- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -114,9 +114,9 @@ static cl::opt<unsigned>
                        cl::desc("The number of memory instructions to scan for "
                                 "dead store elimination (default = 100)"));
 static cl::opt<unsigned> MemorySSAUpwardsStepLimit(
-    "dse-memoryssa-walklimit", cl::init(70), cl::Hidden,
+    "dse-memoryssa-walklimit", cl::init(90), cl::Hidden,
     cl::desc("The maximum number of steps while walking upwards to find "
-             "MemoryDefs that may be killed (default = 70)"));
+             "MemoryDefs that may be killed (default = 90)"));
 
 static cl::opt<unsigned> MemorySSAPartialStoreLimit(
     "dse-memoryssa-partial-store-limit", cl::init(5), cl::Hidden,


        


More information about the llvm-commits mailing list