[CSSPGO][NFC] Allow cl::ZeroOrMore for use-iterative-bfi-inference
authorWenlei He <aktoon@gmail.com>
Sun, 18 Jul 2021 19:13:30 +0000 (12:13 -0700)
committerWenlei He <aktoon@gmail.com>
Sun, 18 Jul 2021 20:22:32 +0000 (13:22 -0700)
llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp

index 037f009..e4e45b3 100644 (file)
@@ -48,7 +48,7 @@ cl::opt<bool> CheckBFIUnknownBlockQueries(
              "for debugging missed BFI updates"));
 
 cl::opt<bool> UseIterativeBFIInference(
-    "use-iterative-bfi-inference", cl::init(false), cl::Hidden,
+    "use-iterative-bfi-inference", cl::init(false), cl::Hidden, cl::ZeroOrMore,
     cl::desc("Apply an iterative post-processing to infer correct BFI counts"));
 
 cl::opt<unsigned> IterativeBFIMaxIterationsPerBlock(