[all-commits] [llvm/llvm-project] 0c509d: [NewPM] Add options to PrintPassInstrumentation

aeubanks via All-commits all-commits at lists.llvm.org
Tue May 18 21:00:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c509dbc7e29cbd03f161513b8d335f768c7cc2b
      https://github.com/llvm/llvm-project/commit/0c509dbc7e29cbd03f161513b8d335f768c7cc2b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/Driver/debug-pass-structure.c
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Other/new-pass-manager-cgscc-fct-proxy.ll
    M llvm/test/Other/opt-O3-pipeline.ll
    M llvm/test/Other/pass-pipeline-parsing.ll
    M llvm/tools/opt/NewPMDriver.cpp

  Log Message:
  -----------
  [NewPM] Add options to PrintPassInstrumentation

To bring D99599's implementation in line with the existing
PrintPassInstrumentation, and to fix a FIXME, add more customizability
to PrintPassInstrumentation.

Introduce three new options. The first takes over the existing
"-debug-pass-manager-verbose" cl::opt.

The second and third option are specific to -fdebug-pass-structure. They
allow indentation, and also don't print analysis queries.

To avoid more golden file tests than necessary, prune down the
-fdebug-pass-structure tests.

Reviewed By: asbirlea

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




More information about the All-commits mailing list