aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-09-04 16:44:58 +0100
committerFlorian Hahn <flo@fhahn.com>2020-09-08 14:55:46 +0100
commitc7b7c32f4a25d15e992215c8524871bef47d959b (patch)
tree96f235a7ebcfcb44527f6582d506b8f6e9ecde4d
parent94cfbef0a74ec3e5490878dc417fea5ecfcf2a6a (diff)
downloadllvm-c7b7c32f4a25d15e992215c8524871bef47d959b.zip
llvm-c7b7c32f4a25d15e992215c8524871bef47d959b.tar.gz
llvm-c7b7c32f4a25d15e992215c8524871bef47d959b.tar.bz2
[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
-rw-r--r--llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index 49e811b..892ba55 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,