[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(
+ "profcheck-disable-fixes", cl::Hidden, cl::init(false),
+ cl::desc("Temporary flag, will be used for an ablation test"));
----------------
snehasish wrote:
I think the description should spell out what it does rather than what it will be used for. The fact that it will be used for an ablation test (and temporary in nature) is noted in the comments already.
https://github.com/llvm/llvm-project/pull/152232
More information about the llvm-commits
mailing list