[PATCH] D138456: Add new option choices for print-changed that do not output llc changes.

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 13:03:39 PST 2022


jamieschmeiser created this revision.
jamieschmeiser added reviewers: MaskRay, aeubanks.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
jamieschmeiser requested review of this revision.
Herald added a project: LLVM.

When looking at the opt pipeline as part of a compiler invocation (eg, using
clang++ -mllvm -print-changed=cdiff), I am being overwhelmed with the output from
llc...

Add extra option choices for print-changed, corresponding to the current
choices with a prefix of opt- which do not cause printing in llc.

Also, suppress printing in llc for dot-cfg and dot-cfg-quiet instead of quiet mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138456

Files:
  llvm/include/llvm/IR/PrintPasses.h
  llvm/lib/CodeGen/MachineFunctionPass.cpp
  llvm/lib/IR/PrintPasses.cpp
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.ll
  llvm/test/Other/ChangePrinters/print-changed-diff.ll
  llvm/test/Other/change-printer.ll
  llvm/test/Other/print-changed-machine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138456.476977.patch
Type: text/x-patch
Size: 13199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221121/93bae126/attachment-0001.bin>


More information about the llvm-commits mailing list