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 @@ -1116,6 +1116,8 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
1116
1116
if (!Caller->shouldOptimize ())
1117
1117
return false ;
1118
1118
1119
+ LLVM_DEBUG (llvm::dbgs () << " Inlining calls into " << Caller->getName ()
1120
+ << " \n " );
1119
1121
// First step: collect all the functions we want to inline. We
1120
1122
// don't change anything yet so that the dominator information
1121
1123
// remains valid.
@@ -1143,6 +1145,7 @@ bool SILPerformanceInliner::inlineCallsIntoFunction(SILFunction *Caller) {
1143
1145
// ownership... do not inline. The two modes are incompatible, so skip this
1144
1146
// apply site for now.
1145
1147
if (!Callee->hasOwnership () && Caller->hasOwnership ()) {
1148
+ LLVM_DEBUG (llvm::dbgs () << " Not inlining non-ossa " << Caller->getName () << " \n " );
1146
1149
continue ;
1147
1150
}
1148
1151
You can’t perform that action at this time.
0 commit comments