[all-commits] [llvm/llvm-project] e09090: [ctxprof] Instrumentation: handle direct call targ...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Jun 4 13:05:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0909003ff9d8b1606fb76b25bf779443d086b3c
      https://github.com/llvm/llvm-project/commit/e0909003ff9d8b1606fb76b25bf779443d086b3c
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    A llvm/test/Transforms/PGOProfile/ctx-instrumentation-aliases.ll
    M llvm/test/Transforms/PGOProfile/ctx-instrumentation.ll

  Log Message:
  -----------
  [ctxprof] Instrumentation: handle direct call targets to aliases (#142657)

This was an oversight. GlobalAliases aren't `Functions`, so `getCalledFunction` would return `nullptr` and the callsite would be deemed as uninstrumentable.



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