[all-commits] [llvm/llvm-project] a33654: [SampleProf] test that calls to function aliases g...

Rose Hudson via All-commits all-commits at lists.llvm.org
Tue Jan 13 05:22:42 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a33654b60bb795dc54fecf6a549382fbc1b6f015
      https://github.com/llvm/llvm-project/commit/a33654b60bb795dc54fecf6a549382fbc1b6f015
  Author: Rose Hudson <rose.hudson at sony.com>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    A llvm/test/Transforms/SampleProfile/Inputs/fn-alias.prof
    A llvm/test/Transforms/SampleProfile/fn-alias.ll

  Log Message:
  -----------
  [SampleProf] test that calls to function aliases get profile info (#169355)

When a call is made to a function alias, in
SampleProfileLoader::generateMDProfMetadata we look up the actual call
target name in the profile to resolve the alias, in the same way as we
do for indirect calls. Add a test for this so we don't lose profile info
on these calls some day.



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