[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 14 11:27:37 PST 2024


================
@@ -0,0 +1,39 @@
+; Tests that call site type ids can be extracted and set from type operand
+; bundles.
+
+; Verify the exact typeId value to ensure it is not garbage but the value
+; computed as the type id from the type operand bundle.
+; RUN: llc --call-graph-section -mtriple aarch64-linux-gnu %s -stop-before=finalize-isel -o - | FileCheck %s
+
+; ModuleID = 'test.c'
+source_filename = "test.c"
+target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
+target triple = "aarch64-unknown-linux-gnu"
----------------
ilovepi wrote:

I think you can leave these out, right? I don't think this test is target specific, and its usually best not to include the source file.

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


More information about the llvm-branch-commits mailing list