[PATCH] D146096: [PassManager] Run PassInstrumentation after analysis invalidation

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 14:50:12 PDT 2023


aeubanks created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146096

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146096.505273.patch
Type: text/x-patch
Size: 7292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230314/3aadd516/attachment.bin>


More information about the llvm-commits mailing list