[llvm] [MemProf] Allow promotion if target is a declaration (PR #115555)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 20:09:34 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,
----------------
snehasish wrote:

Got it, thanks!

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


More information about the llvm-commits mailing list