From: Dan Gohman Date: Mon, 15 Jun 2009 18:30:15 +0000 (+0000) Subject: Make the EnableLoadPRE variable static. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c915c959780ab7de7c61d7cf8c692762d29d1897;p=oota-llvm.git Make the EnableLoadPRE variable static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73398 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 673d38b7f3a..95137793f20 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -48,7 +48,7 @@ STATISTIC(NumPRELoad, "Number of loads PRE'd"); static cl::opt EnablePRE("enable-pre", cl::init(true), cl::Hidden); -cl::opt EnableLoadPRE("enable-load-pre", cl::init(true)); +static cl::opt EnableLoadPRE("enable-load-pre", cl::init(true)); //===----------------------------------------------------------------------===// // ValueTable Class