File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1012,6 +1012,8 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
1012
1012
if (!Caller->shouldOptimize ())
1013
1013
return false ;
1014
1014
1015
+ LLVM_DEBUG (llvm::dbgs () << " Inlining calls into " << Caller->getName ()
1016
+ << " \n " );
1015
1017
// First step: collect all the functions we want to inline. We
1016
1018
// don't change anything yet so that the dominator information
1017
1019
// remains valid.
@@ -1039,6 +1041,7 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
1039
1041
// ownership... do not inline. The two modes are incompatible, so skip this
1040
1042
// apply site for now.
1041
1043
if (!Callee->hasOwnership () && Caller->hasOwnership ()) {
1044
+ LLVM_DEBUG (llvm::dbgs () << " Not inlining non-ossa " << Caller->getName () << " \n " );
1042
1045
continue ;
1043
1046
}
1044
1047
You can’t perform that action at this time.
0 commit comments