File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ bool SILPerformanceInliner::isProfitableToInline(
499499
500500 // This is the final inlining decision.
501501 if (CalleeCost > Benefit) {
502- ORE. emit ( [&]() {
502+ OptRemark::Emitter::emitOrDebug (DEBUG_TYPE, &ORE, [&]() {
503503 using namespace OptRemark ;
504504 return RemarkMissed (" NoInlinedCost" , *AI.getInstruction ())
505505 << " Not profitable to inline function " << NV (" Callee" , Callee)
@@ -519,7 +519,7 @@ bool SILPerformanceInliner::isProfitableToInline(
519519 << " , bb=" << Callee->size ()
520520 << " , c-bb=" << NumCallerBlocks
521521 << " } " << Callee->getName () << ' \n ' );
522- ORE. emit ( [&]() {
522+ OptRemark::Emitter::emitOrDebug (DEBUG_TYPE, &ORE, [&]() {
523523 using namespace OptRemark ;
524524 return RemarkPassed (" Inlined" , *AI.getInstruction ())
525525 << NV (" Callee" , Callee) << " inlined into "
You can’t perform that action at this time.
0 commit comments