[PATCH] D133263: [NewPM] Switch -filter-passes from ClassName to pass-name

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 3 15:36:00 PDT 2022


MaskRay created this revision.
MaskRay added reviewers: aeubanks, jamieschmeiser, ychen, yrouban.
Herald added subscribers: StephenFan, hiraditya.
Herald added a reviewer: ctetreau.
Herald added a reviewer: ctetreau.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

NewPM -filter-passes (D86360 <https://reviews.llvm.org/D86360>) uses ClassName instead of pass-name as used in
`-passes`, `-print-after`, etc. D87216 <https://reviews.llvm.org/D87216> has added a mechanism to map
ClassName to pass-name. Adopt it for -filter-passes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133263

Files:
  llvm/include/llvm/IR/PrintPasses.h
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/IR/PrintPasses.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.ll
  llvm/test/Other/ChangePrinters/print-changed-diff.ll
  llvm/test/Other/change-printer.ll
  llvm/test/Other/print-on-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133263.457821.patch
Type: text/x-patch
Size: 23137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220903/9d58343c/attachment.bin>


More information about the llvm-commits mailing list