File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1116,6 +1116,8 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
11161116 if (!Caller->shouldOptimize ())
11171117 return false ;
11181118
1119+ LLVM_DEBUG (llvm::dbgs () << " Inlining calls into " << Caller->getName ()
1120+ << " \n " );
11191121 // First step: collect all the functions we want to inline. We
11201122 // don't change anything yet so that the dominator information
11211123 // remains valid.
@@ -1143,6 +1145,8 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
11431145 // ownership... do not inline. The two modes are incompatible, so skip this
11441146 // apply site for now.
11451147 if (!Callee->hasOwnership () && Caller->hasOwnership ()) {
1148+ LLVM_DEBUG (llvm::dbgs ()
1149+ << " Not inlining non-ossa " << Caller->getName () << " \n " );
11461150 continue ;
11471151 }
11481152
You can’t perform that action at this time.
0 commit comments