[llvm-branch-commits] [llvm] [llvm] Extract and propagate indirect call type id (PR #87575)
Prabhu Rajasekaran via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 13 10:27:04 PDT 2025
================
@@ -0,0 +1,27 @@
+;; Tests that call site callee type ids can be extracted and set from
+;; callee_type metadata.
+
+;; Verify the exact calleeTypeId value to ensure it is not garbage but the value
+;; computed as the type id from the callee_type metadata.
+; RUN: llc --call-graph-section -mtriple arm-linux-gnu < %s -stop-after=finalize-isel -o - | FileCheck %s
+
+declare !type !0 void @foo(i8 signext %a)
+
+; CHECK: name: main
+define dso_local i32 @main() !type !1 {
----------------
Prabhuk wrote:
Done. Thank you.
https://github.com/llvm/llvm-project/pull/87575
More information about the llvm-branch-commits
mailing list