[llvm] [NewPM][CodeGen][WIP] Add callback style CodeGen pass pipeline builder (PR #104725)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 01:17:42 PDT 2024


================
@@ -836,6 +848,8 @@ class ModuleToFunctionPassAdaptor
 
   static bool isRequired() { return true; }
 
+  void eraseIf(function_ref<bool(StringRef)> Pred) { Pass->eraseIf(Pred); }
----------------
arsenm wrote:

What is this for exactly? I'd hope we don't have to prune out unwanted pre-added passes 

https://github.com/llvm/llvm-project/pull/104725


More information about the llvm-commits mailing list