[all-commits] [llvm/llvm-project] f48931: [NewPM] Switch -filter-passes from ClassName to pa...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 7 22:02:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f48931f3a86dd8d42eb11fa8ce49fd5c120785a2
      https://github.com/llvm/llvm-project/commit/f48931f3a86dd8d42eb11fa8ce49fd5c120785a2
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

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

  Log Message:
  -----------
  [NewPM] Switch -filter-passes from ClassName to pass-name

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

Reviewed By: aeubanks

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




More information about the All-commits mailing list