[ModuleInlinerWrapperPass] Do some naive printing of wrapped pipeline with -print...
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Thu, 16 Sep 2021 11:38:50 +0000 (13:38 +0200)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Thu, 23 Sep 2021 07:54:42 +0000 (09:54 +0200)
commitc5e0313e4489cb3130f441685fd4207eeee6aa48
tree2f9ef066fb67500dffbfecc2625937b9964eef5a
parent4223195de3eaaa9c221d1f178899f221be6264c5
[ModuleInlinerWrapperPass] Do some naive printing of wrapped pipeline with -print-pipeline-passes

Bisecting and reducing opt pipelines that includes the
ModuleInlinerWrapperPass has turned out to be a bit problematic.
This is far from perfect (it still lacks information about inline
advisor params etc.), but it should give some kind of hint to what
the wrapped pipeline looks like when using -print-pipeline-passes.

Reviewed By: aeubanks, mtrofin

Differential Revision: https://reviews.llvm.org/D109878
llvm/include/llvm/Transforms/IPO/Inliner.h
llvm/lib/Transforms/IPO/Inliner.cpp
llvm/test/Other/new-pm-print-pipeline.ll