[llvm-commits] [llvm] r155727 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
David Blaikie
dblaikie at gmail.com
Fri Apr 27 12:30:32 PDT 2012
Author: dblaikie
Date: Fri Apr 27 14:30:32 2012
New Revision: 155727
URL: http://llvm.org/viewvc/llvm-project?rev=155727&view=rev
Log:
Change recurse depth limit to uint32 to fix warning.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=155727&r1=155726&r2=155727&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Fri Apr 27 14:30:32 2012
@@ -60,7 +60,7 @@
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)"));
More information about the llvm-commits
mailing list