[all-commits] [llvm/llvm-project] 86b0ac: [InstrProf] Mark __llvm_profile_runtime_user cold ...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Jan 5 08:07:00 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b0acd35f75afacec84ebaf3304a3e96063940d
      https://github.com/llvm/llvm-project/commit/86b0acd35f75afacec84ebaf3304a3e96063940d
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-01-05 (Mon, 05 Jan 2026)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/profiling.ll
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [InstrProf] Mark __llvm_profile_runtime_user cold (#174174)

This function is only created to use a global so that it does not get
pruned by the compiler. We could probably get rid of it
(https://reviews.llvm.org/D98325), but there are some complications
around certain platforms. Given that it will never be called, mark it as
cold.



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