[all-commits] [llvm/llvm-project] 36c663: [IR] Don't include PassInstrumentation.h in PassMa...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 20 23:41:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36c6632eb43bf67e19c8a6a21981cf66e06389b4
      https://github.com/llvm/llvm-project/commit/36c6632eb43bf67e19c8a6a21981cf66e06389b4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/include/llvm/IR/PassManager.h
    M llvm/include/llvm/IR/PassManagerImpl.h
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h
    M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
    M llvm/include/llvm/Transforms/Utils/Debugify.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/FuzzMutate/IRMutator.cpp
    M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
    M llvm/unittests/Analysis/InlineCostTest.cpp
    M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp
    M polly/lib/Support/DumpFunctionPass.cpp

  Log Message:
  -----------
  [IR] Don't include PassInstrumentation.h in PassManager.h (NFC) (#96219)

Move PassInstrumentationAnalysis into PassInstrumentation.h and stop
including it in PassManager.h (effectively inverting the direction of
the dependency).

Most places using PassManager are not interested in PassInstrumentation,
and we no longer have any uses of it in PassManager.h itself (only in
PassManagerImpl.h).



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