[llvm-commits] [llvm] r110384 - /llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
Owen Anderson
resistor at mac.com
Thu Aug 5 15:11:32 PDT 2010
Author: resistor
Date: Thu Aug 5 17:11:31 2010
New Revision: 110384
URL: http://llvm.org/viewvc/llvm-project?rev=110384&view=rev
Log:
Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default.
Modified:
llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=110384&r1=110383&r2=110384&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Thu Aug 5 17:11:31 2010
@@ -45,7 +45,10 @@
// Turn on use of LazyValueInfo.
static cl::opt<bool>
-EnableLVI("enable-jump-threading-lvi", cl::ReallyHidden);
+EnableLVI("enable-jump-threading-lvi",
+ cl::desc("Use LVI for jump threading"),
+ cl::init(false),
+ cl::ReallyHidden);
More information about the llvm-commits
mailing list