[llvm] [PassBuilder] Table-drive pass name printing (PR #202656)
David Zbarsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 18:57:45 PDT 2026
================
@@ -2796,92 +2796,155 @@ PassBuilder::parseRegAllocFilter(StringRef FilterName) {
return std::nullopt;
}
-static void printPassName(StringRef PassName, raw_ostream &OS) {
- OS << " " << PassName << "\n";
+struct PassNameWithParams {
+ StringLiteral Name;
+ StringLiteral Params;
+};
----------------
dzbarsky wrote:
thanks, done
https://github.com/llvm/llvm-project/pull/202656
More information about the llvm-commits
mailing list