Make the EnableLoadPRE variable static.
authorDan Gohman <gohman@apple.com>
Mon, 15 Jun 2009 18:30:15 +0000 (18:30 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 15 Jun 2009 18:30:15 +0000 (18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73398 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVN.cpp

index 673d38b7f3ae6dc6c19a302363a786833bc4850f..95137793f207fa1bac5670d2b0362731d0d61d8d 100644 (file)
@@ -48,7 +48,7 @@ STATISTIC(NumPRELoad,   "Number of loads PRE'd");
 
 static cl::opt<bool> EnablePRE("enable-pre",
                                cl::init(true), cl::Hidden);
-cl::opt<bool> EnableLoadPRE("enable-load-pre", cl::init(true));
+static cl::opt<bool> EnableLoadPRE("enable-load-pre", cl::init(true));
 
 //===----------------------------------------------------------------------===//
 //                         ValueTable Class