davidxl added inline comments. ================ Comment at: lib/Transforms/IPO/PartialInlining.cpp:934 ORE.emit([&]() { return OptimizationRemark(DEBUG_TYPE, "PartiallyInlined", ---------------- Move the opt remark down. https://reviews.llvm.org/D39581