[all-commits] [llvm/llvm-project] 782d6a: Introduce -print-before-changed, making -print-cha...

jamieschmeiser via All-commits all-commits at lists.llvm.org
Thu Nov 12 07:21:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 782d6a6963c107b47e65e8611e09c19dc865bbbe
      https://github.com/llvm/llvm-project/commit/782d6a6963c107b47e65e8611e09c19dc865bbbe
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

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

  Log Message:
  -----------
  Introduce -print-before-changed, making -print-changed also print before passes that modify IR

Summary:
Add an option -print-before-changed that modifies the print-changed
behaviour so that it prints the IR before a pass that changed it in
addition to printing the IR after the pass. Note that the option
does nothing in isolation. The filtering options work as expected.
Lit tests are included.

Author: Jamie Schmeiser <schmeise at ca.ibm.com>

Reviewed By: aeubanks (Arthur Eubanks)

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




More information about the All-commits mailing list