[PATCH] D92589: Introduce new option -print-changed-only and associated change printer.
Jamie Schmeiser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 10:40:40 PST 2020
jamieschmeiser created this revision.
jamieschmeiser added reviewers: aeubanks, ychen.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
jamieschmeiser requested review of this revision.
Introduce new option -print-changed-only and associated change printer.
Introduce a new option -print-changed-only that controls a new change
printer that only reports before and after a pass changes the IR. This
is similar to -print-changed -print-before-changed except all of the
other messages are suppressed (ie, no initial IR and no messages about
ignored, filtered or non-modifying passes). The usual filtering options
are obeyed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92589
Files:
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/test/Other/change-printer.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92589.309304.patch
Type: text/x-patch
Size: 13281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/8cf68676/attachment.bin>
More information about the llvm-commits
mailing list