Skip to content

Commit 877eded

Browse files
committed
- experiment for CI
1 parent 05f115f commit 877eded

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/SILOptimizer/PassManager/PassManager.cpp

Lines changed: 5 additions & 2 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) {

0 commit comments

Comments
 (0)