[PATCH] D99599: [NewPM] Add an option to dump pass structure

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 08:42:47 PDT 2021


evgeny777 created this revision.
evgeny777 added reviewers: tejohnson, chandlerc.
Herald added subscribers: dexonsmith, nikic, hiraditya.
evgeny777 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Herald added a project: LLVM.

This is similar to legacy PM -debug-pass=Structure. It overlaps with -debug-pass-manager, however the latter dumps a lot of stuff which is not related to pass structure (and probably should be printed with LLVM_DEBUG).


https://reviews.llvm.org/D99599

Files:
  llvm/include/llvm/IR/PassManagerImpl.h
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/opt-O3-pipeline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99599.334177.patch
Type: text/x-patch
Size: 13985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/0bd4b46f/attachment.bin>


More information about the llvm-commits mailing list