[NewPM] Mark some more wrapper passes as ignored
authorArthur Eubanks <aeubanks@google.com>
Thu, 22 Apr 2021 06:51:51 +0000 (23:51 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 22 Apr 2021 06:55:02 +0000 (23:55 -0700)
We shouldn't print IR when seeing these passes.

llvm/lib/Passes/StandardInstrumentations.cpp

index 0494cb3..44511d7 100644 (file)
@@ -370,7 +370,8 @@ void unwrapAndPrint(raw_ostream &OS, Any IR,
 // Return true when this is a pass for which changes should be ignored
 bool isIgnored(StringRef PassID) {
   return isSpecialPass(PassID,
-                       {"PassManager", "PassAdaptor", "AnalysisManagerProxy"});
+                       {"PassManager", "PassAdaptor", "AnalysisManagerProxy",
+                        "DevirtSCCRepeatedPass", "ModuleInlinerWrapperPass"});
 }
 
 } // namespace