From: Owen Anderson Date: Thu, 5 Aug 2010 22:11:31 +0000 (+0000) Subject: Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f35b08db501557b1d41628291811c77c2bc163fb;p=oota-llvm.git Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110384 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp index 5dabcf0551f..c826d66813d 100644 --- a/lib/Transforms/Scalar/JumpThreading.cpp +++ b/lib/Transforms/Scalar/JumpThreading.cpp @@ -45,7 +45,10 @@ Threshold("jump-threading-threshold", // Turn on use of LazyValueInfo. static cl::opt -EnableLVI("enable-jump-threading-lvi", cl::ReallyHidden); +EnableLVI("enable-jump-threading-lvi", + cl::desc("Use LVI for jump threading"), + cl::init(false), + cl::ReallyHidden);