[llvm-branch-commits] [clang] [llvm] [llvm] Introduce callee_type metadata (PR #87573)

Prabhu Rajasekaran via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 18 10:41:34 PDT 2025


================
@@ -3423,6 +3424,17 @@ static void combineMetadata(Instruction *K, const Instruction *J,
                    MDNode::getMergedCallsiteMetadata(KCallSite, JCallSite));
   }
 
+  // Merge callee_type metadata.
+  // Handle separately to support cases where only one instruction has the
+  // metadata.
----------------
Prabhuk wrote:

That helped thanks! Updated the combine metadata to drop the callee_type metadata conservatively as suggested. Updated the tests accordingly. PTAL.

https://github.com/llvm/llvm-project/pull/87573


More information about the llvm-branch-commits mailing list