[Pass Builder] Allow Module Inliner for full LTO
authoribricchi <ibricchi@student.ethz.ch>
Mon, 3 Apr 2023 12:13:46 +0000 (14:13 +0200)
committerNikita Popov <npopov@redhat.com>
Mon, 3 Apr 2023 12:16:35 +0000 (14:16 +0200)
commit1a36eaa552f14e7376b38cf5fc54afdf52cc8f13
tree2db8a4ea4fd9adca830f8b07ad784f842e618201
parentdb3dcdc08ce06e301cdcc75e2849315a47d7a28d
[Pass Builder] Allow Module Inliner for full LTO

Currently there is no way to enable the module inliner when
linking with full lto. This patch enables that option.

Differential Revision: https://reviews.llvm.org/D146805
llvm/lib/Passes/PassBuilderPipelines.cpp