[llvm] [MemProf] Emit remarks when hinting allocations not needing cloning (PR #141859)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed May 28 14:24:26 PDT 2025
================
@@ -145,13 +146,6 @@ std::string llvm::memprof::getAllocTypeAttributeString(AllocationType Type) {
llvm_unreachable("invalid alloc type");
}
-static void addAllocTypeAttribute(LLVMContext &Ctx, CallBase *CI,
----------------
teresajohnson wrote:
There was only one call to this so I inlined it for simplicity and so we have easier access to the AllocTypeString for the remark.
https://github.com/llvm/llvm-project/pull/141859
More information about the llvm-commits
mailing list