[llvm] [profcheck] Annotate `select` instructions (PR #152171)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 11:59:16 PDT 2025


================
@@ -26,6 +26,12 @@ using namespace llvm;
 static cl::opt<int64_t>
     DefaultFunctionEntryCount("profcheck-default-function-entry-count",
                               cl::init(1000));
+static cl::opt<bool> AnnotateSelect("profcheck-annotate-select",
----------------
snehasish wrote:

Why do we need an option to control whether we check the select annotation or not?

Also all these options are missing descriptions. Can you add a sentence for each?

https://github.com/llvm/llvm-project/pull/152171


More information about the llvm-commits mailing list