aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/GVN.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-04-27 19:30:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-04-27 19:30:32 +0000
commitf6d55df9ecac7f4e3e654b7074729100f6de28ae (patch)
treecce7c39bee2e6c0c3d756a38cba0720f0b1060f4 /lib/Transforms/Scalar/GVN.cpp
parentca63acdc5d8b1593e0c1caa56db49a6271618000 (diff)
Change recurse depth limit to uint32 to fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/GVN.cpp')
-rw-r--r--lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index f282645106..915871e3c2 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -60,7 +60,7 @@ static cl::opt<bool> EnablePRE("enable-pre",
static cl::opt<bool> EnableLoadPRE("enable-load-pre", cl::init(true));
// Maximum allowed recursion depth.
-static cl::opt<int>
+static cl::opt<uint32_t>
MaxRecurseDepth("max-recurse-depth", cl::Hidden, cl::init(1000), cl::ZeroOrMore,
cl::desc("Max recurse depth (default = 1000)"));