[all-commits] [llvm/llvm-project] 6a5bb4: [MemProf] Fix handling of recursive edges during f...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu Feb 27 08:41:50 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a5bb4c2f1e7a48d5c8ffd7b5ab4a7addc3e661f
https://github.com/llvm/llvm-project/commit/6a5bb4c2f1e7a48d5c8ffd7b5ab4a7addc3e661f
Author: Teresa Johnson <tejohnson at google.com>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
A llvm/test/Transforms/MemProfContextDisambiguation/funcassigncloningrecursion.ll
Log Message:
-----------
[MemProf] Fix handling of recursive edges during func assignment (#129066)
When we need to reclone other callees of a caller node during function
assignment due to the creation of a new function clone, we need to skip
recursive edges on that caller. We don't want to reclone the callee in
that case (which is the caller), which isn't necessary and also isn't
correct from a graph update perspective. It resulted in an assertion and
in an NDEBUG build caused an infinite loop.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list