aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2023-06-08 12:19:44 -0700
committerTeresa Johnson <tejohnson@google.com>2023-06-08 12:30:23 -0700
commite5479f27f20f397ab422ba072634affffa69e928 (patch)
treef48df8d191ca9a3bd838855805581b45facfb52c /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentd14ac1d11a5cb3994c63ecaaa5c950636a289fa1 (diff)
downloadllvm-e5479f27f20f397ab422ba072634affffa69e928.zip
llvm-e5479f27f20f397ab422ba072634affffa69e928.tar.gz
llvm-e5479f27f20f397ab422ba072634affffa69e928.tar.bz2
[MemProf] Remove stale comment (NFC)
We already do the simplification described in the FIXME comment.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index a433c83..dd5380b 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -875,9 +875,6 @@ static void propagateMemProfHelper(const CallBase *OrigCall,
// inlined callee's callsite metadata with that of the inlined call,
// and moving the subset of any memprof contexts to the inlined callee
// allocations if they match the new inlined call stack.
-// FIXME: Replace memprof metadata with function attribute if all MIB end up
-// having the same behavior. Do other context trimming/merging optimizations
-// too.
static void
propagateMemProfMetadata(Function *Callee, CallBase &CB,
bool ContainsMemProfMetadata,