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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 09:53:07 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",
+                                    cl::init(true));
+static cl::opt<uint32_t> SelectTrueWeight("profcheck-select-true-weight",
----------------
boomanaiden154 wrote:

Ah, within the tests, got it. Sorry for missing that.

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


More information about the llvm-commits mailing list