[all-commits] [llvm/llvm-project] eb1c3a: [ctxprof] Override type of instrumentation if `-pr...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Feb 26 19:57:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1c3ace39644dbe24777a00ba4d879d23c7bb46
      https://github.com/llvm/llvm-project/commit/eb1c3ace39644dbe24777a00ba4d879d23c7bb46
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    A llvm/test/Transforms/PGOProfile/ctx-instrumentation-optin.ll

  Log Message:
  -----------
  [ctxprof] Override type of instrumentation if `-profile-context-root` is specified (#128940)

This patch makes it easy to enable ctxprof instrumentation for targets where the build has a bunch of defaults for instrumented PGO that we want to inherit for ctxprof.

This is switching experimental defaults: we'll eventually enable ctxprof instrumentation through `PGOOpt` but that type is currently quite entangled and, for the time being, no point adding to that.



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