[all-commits] [llvm/llvm-project] bfc659: [PassManager] Run PassInstrumentation after analys...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Mar 15 08:36:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfc6590e66beca9d6dc7fe613de9b49b0bda6d5b
      https://github.com/llvm/llvm-project/commit/bfc6590e66beca9d6dc7fe613de9b49b0bda6d5b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/include/llvm/IR/PassManager.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp
    M llvm/lib/CodeGen/MachinePassManager.cpp
    M llvm/lib/IR/PassManager.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Other/scc-deleted-printer.ll

  Log Message:
  -----------
  [PassManager] Run PassInstrumentation after analysis invalidation

This allows instrumentation to inspect cached analyses to verify them.

The CGSCC PassInstrumentation previously ran `runAfterPass()` on the original SCC, but really it should be running on UpdatedC when relevant since that's the relevant SCC after the pass.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146096




More information about the All-commits mailing list