[all-commits] [llvm/llvm-project] 61768b: [ctxprof] Don't import roots elsewhere (#134012)

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Apr 3 13:22:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61768b35285ef73b88146946dddfef045b353708
      https://github.com/llvm/llvm-project/commit/61768b35285ef73b88146946dddfef045b353708
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/ThinLTO/X86/ctxprof-separate-module.ll

  Log Message:
  -----------
  [ctxprof] Don't import roots elsewhere (#134012)

Block a context root from being imported by its callers. 

Suppose that happened. Its caller - usually a message pump - inlines its copy of the root. Then it (the root) and whatever it calls will be the non-contextually optimized callee versions.



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