HomePhabricator

[NewPM][PassInstrumentation] IR printing support for (Thin)LTO

Authored by twoh on Aug 15 2019, 10:47 AM.

Description

[NewPM][PassInstrumentation] IR printing support for (Thin)LTO

Summary: IR printing has not been correctly supported with (Thin)LTO if the new pass manager is enabled. Previously we only get outputs from backend(codegen) passes, as they are still under legacy pass manager even when the new pass manager is enabled. This patch addresses the issue and enables IR printing for optimization passes with new pass manager + (Thin)LTO setting.

Reviewers: fedor.sergeev, philip.pfaffe

Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, dang, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66253

llvm-svn: 369024

Details

Committed
twohAug 15 2019, 10:47 AM
Differential Revision
D66253: [NewPM][PassInstrumentation] IR printing support for (Thin)LTO
Parents
rG7a210d65edc6: Fix lld on GCC 5.1 after the C++14 move
Branches
Unknown
Tags
Unknown