[llvm] [MemProf] Allow promotion if target is a declaration (PR #115555)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 19:28:15 PST 2024
================
@@ -132,6 +132,11 @@ cl::opt<bool> EnableMemProfContextDisambiguation(
cl::opt<bool> SupportsHotColdNew(
"supports-hot-cold-new", cl::init(false), cl::Hidden,
cl::desc("Linking with hot/cold operator new interfaces"));
+
+cl::opt<bool> MemProfRequireDefinitionForPromotion(
+ "memprof-require-definition-for-promotion", cl::init(false), cl::Hidden,
----------------
teresajohnson wrote:
I meant to change it to be more aggressive by default and enable promotion with the target is a declaration (that's what I meant by "enabled" - promotion enabled, not the flag).
https://github.com/llvm/llvm-project/pull/115555
More information about the llvm-commits
mailing list