aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2019-03-29 17:28:11 +0000
committerEvandro Menezes <e.menezes@samsung.com>2019-03-29 17:28:11 +0000
commit0f797b873292eb0fe01ade51f2f023b56518aed0 (patch)
tree723a6c92449c9444efc70e795686291d853efd67 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent610036c506218dbc70464fc2fb7b86dc4d6f906a (diff)
downloadllvm-0f797b873292eb0fe01ade51f2f023b56518aed0.zip
llvm-0f797b873292eb0fe01ade51f2f023b56518aed0.tar.gz
llvm-0f797b873292eb0fe01ade51f2f023b56518aed0.tar.bz2
[CodeGen] Refactor the option for the maximum jump table size
Refactor the option `max-jump-table-size` to default to the maximum representable number. Essentially, NFC. llvm-svn: 357280
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 41cf19f..312579f 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -73,8 +73,8 @@ static cl::opt<unsigned> MinimumJumpTableEntries
cl::desc("Set minimum number of entries to use a jump table."));
static cl::opt<unsigned> MaximumJumpTableSize
- ("max-jump-table-size", cl::init(0), cl::Hidden,
- cl::desc("Set maximum size of jump tables; zero for no limit."));
+ ("max-jump-table-size", cl::init(UINT_MAX), cl::Hidden,
+ cl::desc("Set maximum size of jump tables."));
/// Minimum jump table density for normal functions.
static cl::opt<unsigned>