[llvm] [MemProf] Add ambigous memprof attribute (PR #157204)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 17:59:44 PDT 2025
================
@@ -121,6 +121,24 @@ bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) {
return NumAllocTypes == 1;
}
+void llvm::memprof::removeAnyExistingAmbiguousAttribute(CallBase *CB) {
+ if (CB->hasFnAttr("memprof")) {
----------------
teresajohnson wrote:
done
https://github.com/llvm/llvm-project/pull/157204
More information about the llvm-commits
mailing list