[PATCH] D130434: [MachineFunctinPass] Support -print-changed and -print-changed=quiet
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 23 20:34:01 PDT 2022
MaskRay created this revision.
MaskRay added reviewers: aeubanks, craig.topper, jamieschmeiser, paquette.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
-print-changed for new pass manager is handy beside -print-after-all.
Port it to MachineFunctionPass.
Note: lib/Passes/StandardInstrumentations.cpp implements a number of
misc features. If we want to use them for codegen, we may need to lift
some functionality to LLVMIR.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130434
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/print-changed-machine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130434.447105.patch
Type: text/x-patch
Size: 11358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220724/eeb40ca6/attachment.bin>
More information about the llvm-commits
mailing list