[llvm] [licm] clone metadata when hoisting conditional branch (PR #152232)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 11:20:12 PDT 2025


================
@@ -59,6 +59,13 @@ static cl::opt<std::string> PrintBranchProbFuncName(
     cl::desc("The option to specify the name of the function "
              "whose branch probability info is printed."));
 
+// FIXME: Flag used for an ablation performance test, Issue #147390. Placing it
+// here because referencing Analysis should be feasible from anywhere. Will be
+// removed after the ablation test.
+cl::opt<bool> DisableProfilingInfoCorrectPropagation(
----------------
snehasish wrote:

Since this option is also used for debug info metadata fixes how about -- `ProfcheckDisableMetadataFixes`. Also the flag itself could include the term "metadata" to be consistent. Wdyt?

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


More information about the llvm-commits mailing list