[llvm] [MemProf] Allow promotion if target is a declaration (PR #115555)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 9 07:05: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,
----------------
teresajohnson wrote:
I updated the description to be clearer about what I mean here, reread and it is definitely confusing
https://github.com/llvm/llvm-project/pull/115555
More information about the llvm-commits
mailing list