summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2018-07-18 16:56:33 +0000
committerWei Mi <wmi@google.com>2018-07-18 16:56:33 +0000
commit10ef7d20b2a8b182d3c32acba88d779767a99261 (patch)
treea3a450fee3b18fa4a4dcdb3d5da7359b0ef70019 /llvm/lib/CodeGen/RegAllocGreedy.cpp
parent007dedbf77f676e5b30fb5790676cdcc7f67e7e0 (diff)
downloadbcm5719-llvm-10ef7d20b2a8b182d3c32acba88d779767a99261.tar.gz
bcm5719-llvm-10ef7d20b2a8b182d3c32acba88d779767a99261.zip
[RegAlloc][NFC] Fix the help string of the option "huge-size-for-split".
llvm-svn: 337402
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index f84874a8b85..3333e1f2fb8 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -127,7 +127,8 @@ static cl::opt<bool> EnableDeferredSpilling(
static cl::opt<unsigned>
HugeSizeForSplit("huge-size-for-split", cl::Hidden,
- cl::desc("Last chance recoloring max depth"),
+ cl::desc("A threshold of live range size which may cause "
+ "high compile time cost in global splitting."),
cl::init(5000));
// FIXME: Find a good default for this flag and remove the flag.
OpenPOWER on IntegriCloud