[all-commits] [llvm/llvm-project] 1d608f: [NFC][InstrProf] Refactor InstrProfiling lowering ...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Sun Dec 10 18:03:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d608fc755a3e15d0020f61c9535c9b730ab9dec
      https://github.com/llvm/llvm-project/commit/1d608fc755a3e15d0020f61c9535c9b730ab9dec
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-12-10 (Sun, 10 Dec 2023)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/CodeGen/pgo-instrumentation.c
    M llvm/include/llvm/Transforms/Instrumentation.h
    M llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp

  Log Message:
  -----------
  [NFC][InstrProf] Refactor InstrProfiling lowering pass (#74970)

Akin other passes - refactored the name to `InstrProfilingLoweringPass` to better communicate what it does, and split the pass part and the transformation part to avoid needing to initialize object state during `::run`.

A subsequent PR will move `InstrLowering` to the .cpp file and rename it to `InstrLowerer`.




More information about the All-commits mailing list