[PATCH] D87000: Add a new hidden option -print-changes that reports in a patch-like notation when a pass actually changes the IR.

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 17:05:12 PDT 2020


jamieschmeiser updated this revision to Diff 293294.
jamieschmeiser edited the summary of this revision.
jamieschmeiser added a comment.

Update this PR to match changes made to https://reviews.llvm.org/D86360,
most notably replace the lambdas with virtual functions.
Adapt to other changes based on reviews of -print-changed.

Respond to review comments on this PR: various requested changes.
Remove change-printer.ll because tests are now in change-reporters.ll


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87000/new/

https://reviews.llvm.org/D87000

Files:
  llvm/include/llvm/IR/ChangeReporters.h
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/IR/CMakeLists.txt
  llvm/lib/IR/ChangeReporters.cpp
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/change-printer.ll
  llvm/test/Other/change-reporters.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87000.293294.patch
Type: text/x-patch
Size: 78413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/723b17c0/attachment.bin>


More information about the llvm-commits mailing list