[all-commits] [llvm/llvm-project] 43a830: Introduce new quiet mode and new option handling f...

jamieschmeiser via All-commits all-commits at lists.llvm.org
Mon Jan 11 11:21:08 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 43a830ed94180f72533263bb1c40af29510c017a
      https://github.com/llvm/llvm-project/commit/43a830ed94180f72533263bb1c40af29510c017a
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Other/change-printer.ll

  Log Message:
  -----------
  Introduce new quiet mode and new option handling for -print-changed.
Summary:
Introduce a new mode of operation for -print-changed that only reports
after a pass changes the IR with all of the other messages suppressed (ie,
no initial IR and no messages about ignored, filtered or non-modifying
passes).

The option processing for -print-changed is changed to take an optional
string indicating options for print-changed. Initially, the only option
supported is quiet (as described above). This new quiet mode is specified
with -print-changed=quiet while -print-changed will continue to function
in the same way. It is intended that there will be more options in the
future.

Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By: aeubanks (Arthur Eubanks)
Differential Revision: https://reviews.llvm.org/D92589




More information about the All-commits mailing list