[llvm] 1dfb52a - [NewPM] Mark some more wrapper passes as ignored

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 23:55:26 PDT 2021


Author: Arthur Eubanks
Date: 2021-04-21T23:55:02-07:00
New Revision: 1dfb52a75687d6e6ca52fe49c879257011ba9538

URL: https://github.com/llvm/llvm-project/commit/1dfb52a75687d6e6ca52fe49c879257011ba9538
DIFF: https://github.com/llvm/llvm-project/commit/1dfb52a75687d6e6ca52fe49c879257011ba9538.diff

LOG: [NewPM] Mark some more wrapper passes as ignored

We shouldn't print IR when seeing these passes.

Added: 
    

Modified: 
    llvm/lib/Passes/StandardInstrumentations.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp
index 0494cb3f0fd9b..44511d7b1f1e4 100644
--- a/llvm/lib/Passes/StandardInstrumentations.cpp
+++ b/llvm/lib/Passes/StandardInstrumentations.cpp
@@ -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


        


More information about the llvm-commits mailing list