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(
499
499
500
500
// This is the final inlining decision.
501
501
if (CalleeCost > Benefit) {
502
- ORE. emit ( [&]() {
502
+ OptRemark::Emitter::emitOrDebug (DEBUG_TYPE, &ORE, [&]() {
503
503
using namespace OptRemark ;
504
504
return RemarkMissed (" NoInlinedCost" , *AI.getInstruction ())
505
505
<< " Not profitable to inline function " << NV (" Callee" , Callee)
@@ -519,7 +519,7 @@ bool SILPerformanceInliner::isProfitableToInline(
519
519
<< " , bb=" << Callee->size ()
520
520
<< " , c-bb=" << NumCallerBlocks
521
521
<< " } " << Callee->getName () << ' \n ' );
522
- ORE. emit ( [&]() {
522
+ OptRemark::Emitter::emitOrDebug (DEBUG_TYPE, &ORE, [&]() {
523
523
using namespace OptRemark ;
524
524
return RemarkPassed (" Inlined" , *AI.getInstruction ())
525
525
<< NV (" Callee" , Callee) << " inlined into "
You can’t perform that action at this time.
0 commit comments