[Hexagon] Remove ZeroOrMore from option flags
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 6 Oct 2015 18:29:36 +0000 (18:29 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 6 Oct 2015 18:29:36 +0000 (18:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249438 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonEarlyIfConv.cpp

index f7b69406fd892f5ad17f3b1698e4b072041f3ddc..5b92bfb15b3cbf7d0b752b9b6543fca6bd076758 100644 (file)
 
 using namespace llvm;
 
-static cl::opt<bool> EnableHexagonBP("enable-hexagon-br-prob", cl::Hidden,
-  cl::init(false), cl::ZeroOrMore, cl::desc("Enable branch probability info"));
-
 namespace llvm {
   FunctionPass *createHexagonEarlyIfConversion();
   void initializeHexagonEarlyIfConversionPass(PassRegistry& Registry);
 }
 
 namespace {
+  cl::opt<bool> EnableHexagonBP("enable-hexagon-br-prob", cl::Hidden,
+    cl::init(false), cl::desc("Enable branch probability info"));
   cl::opt<unsigned> SizeLimit("eif-limit", cl::init(6), cl::Hidden,
-    cl::ZeroOrMore, cl::desc("Size limit in Hexagon early if-conversion"));
+    cl::desc("Size limit in Hexagon early if-conversion"));
 
   struct PrintMB {
     PrintMB(const MachineBasicBlock *B) : MB(B) {}