[PATCH] D88757: add new option print-before-changed that modifies print-changed to also print before passes that change the IR

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 15:01:06 PDT 2020


jamieschmeiser created this revision.
jamieschmeiser added reviewers: aeubanks, yrouban, ychen, MaskRay.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
jamieschmeiser requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88757

Files:
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/change-printer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88757.295916.patch
Type: text/x-patch
Size: 5974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201002/6a4cff74/attachment.bin>


More information about the llvm-commits mailing list