@@ -214,9 +214,12 @@ static bool isInPrintFunctionList(SILFunction *F) {
214214}
215215
216216bool isFunctionSelectedForPrinting (SILFunction *F) {
217- if (!SILPrintFunction. empty () && ! isInPrintFunctionList (F) )
217+ if (F-> getName () != " $ss10_NativeSetV9insertNew_2at8isUniqueyxn_s10_HashTableV6BucketVSbtF13FoundationXML7XMLNodeC_Tg5 " )
218218 return false ;
219219
220+ // if (!SILPrintFunction.empty() && !isInPrintFunctionList(F))
221+ // return false;
222+
220223 if (!F->getName ().contains (SILPrintFunctions))
221224 return false ;
222225
@@ -255,7 +258,7 @@ void printInliningDetailsCallerAfter(StringRef passName, SILFunction *caller,
255258}
256259
257260static bool functionSelectionEmpty () {
258- return SILPrintFunction.empty () && SILPrintFunctions.empty ();
261+ return false ; // SILPrintFunction.empty() && SILPrintFunctions.empty();
259262}
260263
261264bool SILPassManager::doPrintBefore (SILTransform *T, SILFunction *F) {
@@ -928,8 +931,8 @@ void SILPassManager::runModulePass(unsigned TransIdx) {
928931
929932 // If this pass invalidated anything, print and verify.
930933 if (doPrintAfter (SMT, nullptr , CurrentPassHasInvalidated)) {
931- dumpPassInfo (" *** SIL module after" , TransIdx);
932- printModule (Mod, Options.EmitVerboseSIL );
934+ // dumpPassInfo("*** SIL module after", TransIdx);
935+ // printModule(Mod, Options.EmitVerboseSIL);
933936 }
934937
935938 updateSILModuleStatsAfterTransform (*Mod, SMT, *this , NumPassesRun, duration.count ());
0 commit comments