Skip to content

Commit 03617ea

Browse files
committed
- experiment for CI
1 parent 05f115f commit 03617ea

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib/SILOptimizer/PassManager/PassManager.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,12 @@ static bool isInPrintFunctionList(SILFunction *F) {
214214
}
215215

216216
bool 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

257260
static bool functionSelectionEmpty() {
258-
return SILPrintFunction.empty() && SILPrintFunctions.empty();
261+
return false; //SILPrintFunction.empty() && SILPrintFunctions.empty();
259262
}
260263

261264
bool 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

Comments
 (0)