[all-commits] [llvm/llvm-project] 3b2261: [ctx_prof] Insert the ctx prof flattener after the...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Sep 9 18:16:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b2261809471a018de50e745c0d475b048c66fd4
      https://github.com/llvm/llvm-project/commit/3b2261809471a018de50e745c0d475b048c66fd4
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Transforms/IPO/ModuleInliner.cpp
    M llvm/test/Analysis/CtxProfAnalysis/inline.ll
    M llvm/test/Other/opt-hot-cold-split.ll
    M llvm/test/ThinLTO/X86/ctxprof.ll

  Log Message:
  -----------
  [ctx_prof] Insert the ctx prof flattener after the module inliner (#107499)

This patch enables experimenting with the contextual profile. ICP is currently disabled in this case - will reenable it subsequently. Also subsequently the inline cost model / decision making would be updated to be context-aware. Right now, this just achieves "complete use" of the profile, in that it's ingested, maintained, and sunk to a flat profile when not needed anymore.

Issue [#89287](https://github.com/llvm/llvm-project/issues/89287)



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