davidxl added a comment. For partial inlining, leave it consistent with old PM for now. We can introduce later an internal option to enable/disable pre-thin-link partial inlining and collect more performance number. https://reviews.llvm.org/D33540