[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
Tue Sep 1 20:47:35 PDT 2020


jamieschmeiser added a comment.

Note that this code makes use of the linux diff function to determine what has changed in the IR.  This will likely require altering for other platforms, which is a future enhancement.  The testing may require attention before this PR can land and any suggestions on how to handle this would be appreciated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87000



More information about the llvm-commits mailing list