[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
Thu Oct 29 09:35:00 PDT 2020


jamieschmeiser updated this revision to Diff 301655.
jamieschmeiser added a comment.

Moved the tests into a separate directory and added a lit.local.cfg that tests
whether the needed diff support is available.  The tests are flagged as
unsupported when the needed support is unavailable.  Also, the tests
were expanded to check more of the results.


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

https://reviews.llvm.org/D87000

Files:
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/ChangePrinters/lit.local.cfg
  llvm/test/Other/ChangePrinters/print-changes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87000.301655.patch
Type: text/x-patch
Size: 46230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201029/daaf00ee/attachment.bin>


More information about the llvm-commits mailing list